mcut 0.1.0

Zero-copy, low-memory multilingual word segmenter using pointwise linear classification and minimal FST
Documentation
1
2
3
4
5
6
7
8
9
# Demo lexicons

These word lists are small, hand-written examples for tests and examples. They
are not production dictionaries. Replace them with a larger lexicon in the same
`word<TAB>frequency` format.

The compact radix trie is built at process start from the embedded text. For a
large dictionary, load it once with [`mcut::Lexicon::from_text`] and construct a
[`mcut::DictSegmenter`] that borrows it.