Method | Description | |
---|---|---|
HunspellDictionary ( Stream affix, IEnumerable |
Creates a new HunspellDictionary containing the information read from the provided streams to hunspell affix and dictionary files.
|
|
HunspellDictionary ( Stream affix, Stream dictionary ) : System |
Creates a new HunspellDictionary containing the information read from the provided streams to hunspell affix and dictionary file.
|
|
LookupPrefix ( char word, int offset, int length ) : IEnumerable |
Looks up HunspellAffix prefixes that have an append that matches the String created from the given char array, offset and length.
|
|
LookupSuffix ( char word, int offset, int length ) : IEnumerable |
Looks up HunspellAffix suffixes that have an append that matches the String created from the given char array, offset and length.
|
|
LookupWord ( String word ) : IEnumerable |
Looks up HunspellWords that match the String created from the given char array, offset and length.
|
Method | Description | |
---|---|---|
GetFlagParsingStrategy ( String flagLine ) : FlagParsingStrategy |
Determines the appropriate {@link FlagParsingStrategy} based on the FLAG definiton line taken from the affix file.
|
|
ParseAffix ( Dictionary |
Parses a specific affix rule putting the result into the provided affix map.
|
|
ParseAliasFlag ( String line, TextReader reader ) : void |
Parse alias flag and put it in hash
|
|
ReadAffixFile ( Stream affixStream, |
Reads the affix file through the provided Stream, building up the prefix and suffix maps.
|
|
ReadDictionaryEncoding ( Stream affix ) : String |
Parses the encoding specificed in the affix file readable through the provided Stream.
|
|
ReadDictionaryFile ( Stream dictionary, |
Reads the dictionary file through the provided Stream, building up the words map.
|
public HunspellDictionary ( Stream affix, IEnumerable |
||
affix | Stream | Stream for reading the hunspell affix file. |
dictionaries | IEnumerable |
Streams for reading the hunspell dictionary file. |
return | System |
public HunspellDictionary ( Stream affix, Stream dictionary ) : System | ||
affix | Stream | Stream for reading the hunspell affix file. |
dictionary | Stream | Stream for reading the hunspell dictionary file. |
return | System |
public LookupPrefix ( char word, int offset, int length ) : IEnumerable |
||
word | char | Char array to generate the String from. |
offset | int | Offset in the char array that the String starts at. |
length | int | Length from the offset that the String is. |
return | IEnumerable |
public LookupSuffix ( char word, int offset, int length ) : IEnumerable |
||
word | char | Char array to generate the String from. |
offset | int | Offset in the char array that the String starts at. |
length | int | Length from the offset that the String is. |
return | IEnumerable |
public LookupWord ( String word ) : IEnumerable |
||
word | String | |
return | IEnumerable |