Repository navigation
lingrep 0.9.1
lingrep 0.9.1
Tokenize Japanese from the command line with uvx lingrep tokenize '猫が眠る。'. For a batch, pipe one sentence per line and pass --workers 4. Each line of output is a JSON array of token surfaces, in input order.
On first use, the tokenizer downloads and verifies the default UniDic CWJ dictionary (about 1.3 GB on disk). It reuses the installed dictionary offline. To select your own, pass --dict-path or set LINGREP_DICTIONARY_PATH. The Python Tokenizer uses the same lookup. Corpus search from Python still requires the matching ling executable.
- Vibrato preserves the original character spans when NFC composes a letter and leaves a trailing combining mark. Rebuild prepared corpora to use the corrected alignment.
- French Stanza bundles can provide tokenization with just the GSD tokenizer and multi-word-token processor.
- Corpus builds that exhaust the process file limit report the I/O error and suggest raising the limit. Positional-window summaries can merge runs under a lower file limit.