class_docstr: Transliterator between pair of languages. 
class_docstr_tok: ["Transliterator","between","pair","of","languages","."]
docstr: Transliterate a string from the input language to English.
docstr_tok: ["Transliterate","a","string","from","the","input","language","to","English","."]
code: def _encoder(self):
      """Transliterate a string from the input language to English."""
      if self.source_lang == "en":
          return Transliterator._dummy_coder
      else:
          weights = load_transliteration_table(self.source_lang)
          encoder_weights = weights["encoder"]
          return Transliterator._transliterate_string(encoder_weights)
  
file_path: polyglot/polyglot/transliteration/base.py
imports: from math import log
  from ..load import load_transliteration_table
  from ..decorators import cached_property
label_desc: Use image node_id 3 for calling the Transliterator obj's underlying member method code with example usage: obj._encoder() and returns: Transliterator, Transliterator