Lucene.Net
3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
|
Public Member Functions | |
HunspellDictionary (Stream affix, Stream dictionary) | |
Creates a new HunspellDictionary containing the information read from the provided streams to hunspell affix and dictionary file. | |
HunspellDictionary (Stream affix, IEnumerable< Stream > dictionaries) | |
Creates a new HunspellDictionary containing the information read from the provided streams to hunspell affix and dictionary files. | |
IEnumerable< HunspellWord > | LookupWord (String word) |
Looks up HunspellWords that match the String created from the given char array, offset and length. | |
IEnumerable< HunspellAffix > | LookupPrefix (char[] word, int offset, int length) |
Looks up HunspellAffix prefixes that have an append that matches the String created from the given char array, offset and length. | |
IEnumerable< HunspellAffix > | LookupSuffix (char[] word, int offset, int length) |
Looks up HunspellAffix suffixes that have an append that matches the String created from the given char array, offset and length. | |
Definition at line 26 of file HunspellDictionary.cs.
Lucene.Net.Analysis.Hunspell.HunspellDictionary.HunspellDictionary | ( | Stream | affix, |
Stream | dictionary | ||
) |
Creates a new HunspellDictionary containing the information read from the provided streams to hunspell affix and dictionary file.
affix | Stream for reading the hunspell affix file. |
dictionary | Stream for reading the hunspell dictionary file. |
IOException | Can be thrown while reading from the streams. |
InvalidDataException | Can be thrown if the content of the files does not meet expected formats. |
Definition at line 54 of file HunspellDictionary.cs.
Lucene.Net.Analysis.Hunspell.HunspellDictionary.HunspellDictionary | ( | Stream | affix, |
IEnumerable< Stream > | dictionaries | ||
) |
Creates a new HunspellDictionary containing the information read from the provided streams to hunspell affix and dictionary files.
affix | Stream for reading the hunspell affix file. |
dictionaries | Streams for reading the hunspell dictionary file. |
IOException | Can be thrown while reading from the streams. |
InvalidDataException | Can be thrown if the content of the files does not meet expected formats. |
Definition at line 65 of file HunspellDictionary.cs.
IEnumerable<HunspellAffix> Lucene.Net.Analysis.Hunspell.HunspellDictionary.LookupPrefix | ( | char[] | word, |
int | offset, | ||
int | length | ||
) |
Looks up HunspellAffix prefixes that have an append that matches the String created from the given char array, offset and length.
word | Char array to generate the String from. |
offset | Offset in the char array that the String starts at. |
length | Length from the offset that the String is. |
null
if none are found.Definition at line 97 of file HunspellDictionary.cs.
IEnumerable<HunspellAffix> Lucene.Net.Analysis.Hunspell.HunspellDictionary.LookupSuffix | ( | char[] | word, |
int | offset, | ||
int | length | ||
) |
Looks up HunspellAffix suffixes that have an append that matches the String created from the given char array, offset and length.
word | Char array to generate the String from. |
offset | Offset in the char array that the String starts at. |
length | Length from the offset that the String is. |
null
if none are foundDefinition at line 115 of file HunspellDictionary.cs.
IEnumerable<HunspellWord> Lucene.Net.Analysis.Hunspell.HunspellDictionary.LookupWord | ( | String | word | ) |
Looks up HunspellWords that match the String created from the given char array, offset and length.
Definition at line 80 of file HunspellDictionary.cs.