Method GetStemDict
GetStemDict(TextReader, CharArrayMap<String>)
Reads a stem dictionary. Each line contains:
word\tstem
(i.e. two tab separated words)
Declaration
public static CharArrayMap<string> GetStemDict(TextReader reader, CharArrayMap<string> result)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | reader | |
CharArrayMap<System.String> | result |
Returns
Type | Description |
---|---|
CharArrayMap<System.String> | stem dictionary that overrules the stemming algorithm |
Exceptions
Type | Condition |
---|---|
System.IO.IOException | If there is a low-level I/O error. |