The general interface to a lexicon.
An exception thrown when someone tries to add a multi-word phrase to a WordLexicon.
A list of words or phrases, with methods to check whether a String, Seq[String], or Token (or more generally a cc.
A union of multiple lexicons.
A Lexicon that can only hold single-word lexicon entries, but which is efficient for this case.
Static access through classpath or file location (specified as Java System Property)
Support for constructing Lexicons, which automatically will determine if a WordLexicon will suffice or a PhraseLexicon is required.