Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No public description #503

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading