class_docstr: Transliterator between pair of languages. 
class_docstr_tok: ["Transliterator","between","pair","of","languages","."]
docstr: Args:
    source_lang (string): language code of the input langauge.
    target_lang (string): language code of the generated output langauge.
docstr_tok: ["Args",":","source_lang","(","string",")",":","language","code","of","the","input","langauge",".","target_lang","(","string",")",":","language","code","of","the","generated","output","langauge","."]
code: def __init__(self, source_lang="en", target_lang="en"):
      """
      Args:
        source_lang (string): language code of the input langauge.
        target_lang (string): language code of the generated output langauge.
      """
      self.source_lang = source_lang
      self.target_lang = target_lang
  
      self.decoder = self._decoder()
      """Transliterate a string from English to the target language."""
      self.encoder = self._encoder()
      """Transliterate a string from the input language to English."""
  
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 1 to create a new Transliterator object from inherited base classes: object with example: obj = Transliterator(source_lang, target_lang)