Enum ScriptFamily
Coarse Unicode script classification used by multilingual text-quality heuristics. Every supported written language maps to exactly one entry, so comparing the ScriptFamily of two characters tells whether a token mixes scripts (a strong OCR-noise fingerprint regardless of language), and lets script-specific heuristics gate themselves: word-morphology signals are only meaningful for alphabetic scripts, while CJK and abjad scripts rely on script consistency and distribution checks (see DominantScript).
public enum ScriptFamily
Fields
Other = 0Digits, punctuation, and any script outside the list below.
Latin = 1Latin (Basic + Supplement + Extended-A/B + Extended Additional).
Cyrillic = 2Cyrillic script (including its supplement block).
Greek = 3Greek script.
Hebrew = 4Hebrew script.
Arabic = 5Arabic script (including its supplement block).
Devanagari = 6Devanagari script.
Thai = 7Thai script.
Hangul = 8Hangul script (syllables and jamo).
Cjk = 9CJK Unified Ideographs, Kana, CJK Extension A, and CJK Compatibility.