Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 681864787
  • Loading branch information
isingoo authored and copybara-github committed Oct 3, 2024
1 parent e6095a9 commit 021febf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nisaba/scripts/natural_translit/language_params/hi.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,24 +82,24 @@
)


def _iso_to_txn() -> fl.FstList:
def iso_to_txn() -> fl.FstList:
"""Composes the fsts from ISO characters to final txn pronunciation."""
return fl.FstList(g2p.iso_to_txn(), _TXN_OPS)


def iso_to_psaf() -> fl.FstList:
"""Pan-South Asian fine grained transliteration."""
return fl.FstList(_iso_to_txn(), romanizer.TXN_TO_PSAF)
return fl.FstList(iso_to_txn(), romanizer.TXN_TO_PSAF)


def iso_to_psac() -> fl.FstList:
"""Pan-South Asian coarse grained transliteration."""
return fl.FstList(_iso_to_txn(), romanizer.TXN_TO_PSAC)
return fl.FstList(iso_to_txn(), romanizer.TXN_TO_PSAC)


def iso_to_ipa() -> fl.FstList:
"""Pronunciation in IPA."""
return fl.FstList(_iso_to_txn(), transcriptor.txn_to_ipa())
return fl.FstList(iso_to_txn(), transcriptor.txn_to_ipa())


def iso_to_nat() -> fl.FstList:
Expand Down

0 comments on commit 021febf

Please sign in to comment.