Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 812 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 812 Bytes

Alphabet Detector

Crate API

Detects 387 alphabets in 170 scripts

one spoken language can be written in multiple scripts, so it will be detected as a different alphabet/language

look at the alphabet.rs to understand what languages have already defined alphabets. Some of them need validation

Separates words in text (from iterator CharIndices), and detects language of words by used alphabets (chars).

Warning: can return words with chars from the Unicode private area (for example Lingala, Nuer or Yoruba languages)