Table of Contents

Enum ScriptFamily

Namespace
LMKit.Nlp
Assembly
LM-Kit.NET.dll

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 = 0

Digits, punctuation, and any script outside the list below.

Latin = 1

Latin (Basic + Supplement + Extended-A/B + Extended Additional).

Cyrillic = 2

Cyrillic script (including its supplement block).

Greek = 3

Greek script.

Hebrew = 4

Hebrew script.

Arabic = 5

Arabic script (including its supplement block).

Devanagari = 6

Devanagari script.

Thai = 7

Thai script.

Hangul = 8

Hangul script (syllables and jamo).

Cjk = 9

CJK Unified Ideographs, Kana, CJK Extension A, and CJK Compatibility.

Share