transliteration_result library

Classes

EmbeddedExactSource
Invisible, self-validating exact-source metadata embedded at the end of a rendered Brahmic string.
IastPlainEnglishOptions
Tunable options for IastToPlainEnglish.toPlainEnglishFromIast.
IastToDevanagariOptions
Comprehensive options for IastToDevanagariString.toDevanagariFromIast.
IastToGujaratiOptions
Comprehensive options for IastToGujaratiString.toGujaratiFromIast.
ScriptToIastOptions
TransliterationIssue
TransliterationResult
Exact Round-Trip envelope around any transliterated view.

Enums

DevanagariRomanizationProfile
Romanization profile.
FinalAPolicy
Controls how the trailing inherent short "a" (the Sanskrit schwa) is handled at the end of each word.
GlottalStopPolicy
Controls how the glottal-stop symbol ʔ is rendered.
GujaratiRomanizationProfile
Romanization profile.
IastToDevanagariAmbiguousLPolicy
Controls how to resolve the ambiguity of ḷ.
IastToDevanagariDigitPolicy
Controls how digits are handled.
IastToDevanagariOmPolicy
Controls how the OM symbol is handled.
IastToDevanagariPunctuationPolicy
Controls how punctuation is handled.
IastToDevanagariUnknownLatinPolicy
Controls how unknown Latin characters are handled.
IastToGujaratiAmbiguousLPolicy
Controls how to resolve the ambiguity of ḷ.
IastToGujaratiDigitPolicy
Controls how digits are handled.
IastToGujaratiOmPolicy
Controls how the OM symbol is handled.
IastToGujaratiPunctuationPolicy
Controls how punctuation is handled.
IastToGujaratiUnknownLatinPolicy
Controls how unknown Latin characters are handled.
JnaPolicy
Controls how the "jñ" conjunct (e.g. jñāna, yajña) is rendered.
NyaPolicy
Controls how standalone "ñ" is rendered when it is not part of "jñ".
PlainEnglishRomanizationProfile
Controls how broadly Latin transliteration variants are interpreted.
TransliterationIssueSeverity
Severity of a diagnostic emitted while rendering a view.
TransliterationProfile
High-level standards/profile label carried in the exact round-trip envelope.
UnicodeNormalizationForm
Normalization applied to the parsing copy or rendered output.

Extensions

DevanagariToIast on String
Exact source recovery is possible only for script strings produced with embedExactSourceMetadata: true in the corresponding forward converter. Canonical reverse transliteration remains available for ordinary untagged Devanagari or Gujarati text.
GujaratiToIast on String
IastToDevanagariString on String
IastToGujaratiString on String
IastToPlainEnglish on String
IndicTransliteration on String

Functions

embedExactSourceMetadata(String rendered, String originalSource) String
Appends an invisible exact-source trailer to rendered.
hasEmbeddedExactSource(String text) bool
isEncodedVedicMark(int rune) bool
All Unicode blocks used for encoded Vedic tone/sign data.
isUnicodeCombiningMark(int rune) bool
True for every Unicode 17 mark category: Mn, Mc, or Me.
normalizeUnicode(String input, UnicodeNormalizationForm form) String
recoverEmbeddedExactSource(String text) String?
Returns the exact original source when valid embedded metadata exists.
stripExactSourceMetadata(String text) String
Removes a valid exact-source trailer while leaving unrecognized tag data untouched.
tryDecodeExactSourceMetadata(String text) EmbeddedExactSource?
Decodes the final valid exact-source trailer, if present.