# nlp_architect.data.cdc_resources.embedding package

## Submodules

## nlp_architect.data.cdc_resources.embedding.embed_elmo module

class `nlp_architect.data.cdc_resources.embedding.embed_elmo.``ElmoEmbedding`

  Bases: `object`

  `apply_get_from_cache`(sentence: str, context: bool = False, indexs: List[int] = None)
  `get_avrg_feature_vector`(tokens_str)
  `get_elmo_avg`(sentence)
  `get_head_feature_vector`(mention: nlp_architect.common.cdc.mention_data.MentionDataLight)
  static `get_mention_vec_from_sent`(sent_vec, indexs)

class `nlp_architect.data.cdc_resources.embedding.embed_elmo.``ElmoEmbeddingOffline`(dump_file)

  Bases: `object`

  `get_avrg_feature_vector`(tokens_str)
  `get_head_feature_vector`(mention: nlp_architect.common.cdc.mention_data.MentionDataLight)

## nlp_architect.data.cdc_resources.embedding.embed_glove module

class `nlp_architect.data.cdc_resources.embedding.embed_glove.``GloveEmbedding`(glove_file)

  Bases: `object`

  static `load_glove_for_vocab`(glove_filename)

class `nlp_architect.data.cdc_resources.embedding.embed_glove.``GloveEmbeddingOffline`(embed_resources)

  Bases: `object`

  `get_avrg_feature_vector`(tokens_str)
  `get_feature_vector`(mention: nlp_architect.common.cdc.mention_data.MentionDataLight)

## Module contents