Section navigation

Public classStatic ChineseLexicon

Namespace
Rowles.LeanCorpus.Analysis.Tokenisers
Assembly
Rowles.LeanCorpus.dll

Provides the default Chinese lexicon for the ChineseLexiconTokeniser. Searches parent directories for lexicons/chinese-dict.txt. If the file is not present, the factory falls back to a minimal built-in list.

public static class ChineseLexicon
Inheritance
ChineseLexicon

Public property Default

Gets the default Chinese word list, loaded from the optional lexicon file. Falls back to a minimal built-in word list if the file is absent.