transliteration_core library
Classes
- EmbeddedExactSource
- Invisible, self-validating exact-source metadata embedded at the end of a rendered Brahmic string.
- TransliterationIssue
- TransliterationResult
- Exact Round-Trip envelope around any transliterated view.
Enums
- 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.
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.