docstr: Initialize the Sense2Vec object.
  
  shape (tuple): The vector shape.
  strings (StringStore): Optional string store. Will be created if it
      doesn't exist.
  senses (list): Optional list of all available senses. Used in methods
      that generate the best sense or other senses.
  vectors_name (unicode): Optional name to assign to the Vectors object.
  overrides (dict): Optional custom functions to use, mapped to names
      registered via the registry, e.g. {"make_key": "custom_make_key"}.
  RETURNS (Sense2Vec): The newly constructed object.
docstr_tok: ["Initialize","the","Sense2Vec","object",".","shape","(","tuple",")",":","The","vector","shape",".","strings","(","StringStore",")",":","Optional","string","store",".","Will","be","created","if","it","does","n't","exist",".","senses","(","list",")",":","Optional","list","of","all","available","senses",".","Used","in","methods","that","generate","the","best","sense","or","other","senses",".","vectors_name","(","unicode",")",":","Optional","name","to","assign","to","the","Vectors","object",".","overrides","(","dict",")",":","Optional","custom","functions","to","use",",","mapped","to","names","registered","via","the","registry",",","e.g",".","{","``","make_key","''",":","``","custom_make_key","''","}",".","RETURNS","(","Sense2Vec",")",":","The","newly","constructed","object","."]
code: def __init__(
      self,
      shape: tuple = (1000, 128),
      strings: StringStore = None,
      senses: List[str] = [],
      vectors_name: str = "sense2vec",
      overrides: Dict[str, str] = SimpleFrozenDict(),
  ):
      """Initialize the Sense2Vec object.
  
      shape (tuple): The vector shape.
      strings (StringStore): Optional string store. Will be created if it
          doesn't exist.
      senses (list): Optional list of all available senses. Used in methods
          that generate the best sense or other senses.
      vectors_name (unicode): Optional name to assign to the Vectors object.
      overrides (dict): Optional custom functions to use, mapped to names
          registered via the registry, e.g. {"make_key": "custom_make_key"}.
      RETURNS (Sense2Vec): The newly constructed object.
      """
      self.vectors = Vectors(shape=shape, name=vectors_name)
      self._row2key = None
      self.strings = StringStore() if strings is None else strings
      self.freqs: Dict[int, int] = {}
      self.cache = None
      self.cfg: Dict[str, Any] = {
          "senses": senses,
          "make_key": "default",
          "split_key": "default",
      }
      self.cfg.update(overrides)
  
imports: from typing import Tuple, List, Union, Sequence, Dict, Callable, Any
  from pathlib import Path
  from spacy.vectors import Vectors
  from spacy.strings import StringStore
  from spacy.util import SimpleFrozenDict
  from thinc.api import NumpyOps
  import numpy
  import srsly
  from .util import registry, cosine_similarity
label_desc: Use image node_id 1 to create a new Sense2Vec object from inherited base classes: object with example: obj = Sense2Vec(shape, strings, senses, vectors_name, overrides)