docstr: Initialize the component and load in data. Can be used to add the
  component with vectors to a pipeline before training.
  
  get_examples (Callable[[], Iterable[Example]]): Function that
      returns a representative sample of gold-standard Example objects.
  nlp (Language): The current nlp object the component is part of.
  data_path (Optional[str]): Optional path to sense2vec model.
docstr_tok: ["Initialize","the","component","and","load","in","data",".","Can","be","used","to","add","the","component","with","vectors","to","a","pipeline","before","training",".","get_examples","(","Callable","[","[","]",",","Iterable","[","Example","]","]",")",":","Function","that","returns","a","representative","sample","of","gold-standard","Example","objects",".","nlp","(","Language",")",":","The","current","nlp","object","the","component","is","part","of",".","data_path","(","Optional","[","str","]",")",":","Optional","path","to","sense2vec","model","."]
code: def initialize(
      self,
      get_examples: Callable[[], Iterable[Example]],
      *,
      nlp: Optional[Language] = None,
      data_path: Optional[str] = None,
  ):
      """Initialize the component and load in data. Can be used to add the
      component with vectors to a pipeline before training.
  
      get_examples (Callable[[], Iterable[Example]]): Function that
          returns a representative sample of gold-standard Example objects.
      nlp (Language): The current nlp object the component is part of.
      data_path (Optional[str]): Optional path to sense2vec model.
      """
      if data_path is not None:
          self.from_disk(data_path)
  
imports: from typing import Tuple, Union, List, Dict, Callable, Iterable, Optional
  from spacy.language import Language
  from spacy.tokens import Doc, Token, Span
  from spacy.training import Example
  from spacy.vocab import Vocab
  from spacy.util import SimpleFrozenDict
  from pathlib import Path
  import numpy
  from .sense2vec import Sense2Vec
  from .util import registry
label_desc: Use image node_id 13 for calling the Sense2VecComponent obj's underlying member method code with example usage: obj.initialize(get_examples) without return types