code: def load_embeddings(lang="en", task="embeddings", type="cw", normalize=False):
    
    src_dir = "_".join((type, task)) if type else task
    p = locate_resource(src_dir, lang)
    e = Embedding.load(p)
    if type == "cw":
      e.apply_expansion(CaseExpander)
      e.apply_expansion(DigitExpander)
    if type == "sgns":
      e.apply_expansion(CaseExpander)
    if type == "ue":
      e.apply_expansion(CaseExpander)
    if normalize:
      e.normalize_words(inplace=True)
    return e
docs: Return a word embeddings object for `lang` and of type `type`
  
    Args:
      lang (string): language code.
      task (string): parameters that define task.
      type (string): skipgram, cw, cbow ...
      noramlized (boolean): returns noramlized word embeddings vectors.