code: def __init__(self, use_bos, use_eos):
      self.use_bos = use_bos
      self.use_eos = use_eos
  
imports: from typing import Dict, List, Optional, Set
  import numpy
  from pytext.common.constants import SpecialTokens, Token
  from pytext.config.component import Component, ComponentType
  from pytext.config.pytext_config import ConfigBase
  from pytext.data.data_structures.annotation import Annotation, Intent, Root, Slot
  from pytext.data.utils import VocabBuilder, Vocabulary
label_desc: Use image node_id 2 to create a new MaskingFunction object from inherited base classes: Component with example: obj = MaskingFunction(use_bos, use_eos)