Namespace: Nlp4Net.NlpLib Assembly: NlpLib.dll
Lexeme is a string of characters.
There are three types Lexeme.LexType of Lexemes.
Lexemes with syntax and semantic information contain Words.
Note: lexical ambiguity
There may be several syntactically different Words
associated with the same Lexeme. For example the same lexeme "code" has two
Words: noun and verb; it plays different syntax
roles and carries different semantic in the following utterances: "We code the
project. The code is complex." Which Word is used
can be determined only during higher levels of processing.
Words may belong to different languages. Currently NlpLib supports only en-US language.
You can use lexical ambiguity in OCR or speech recognition when Lexeme is not
clearly recognized. Instead of processing different lexemes, overload the same
Lexeme with possible Words and let syntax
parser to make a choice.