C# Класс Lucene.Net.Analysis.Hunspell.HunspellStemFilter

TokenFilter that uses hunspell affix rules and words to stem tokens. Since hunspell supports a word having multiple stems, this filter can emit multiple tokens for each consumed token.
Наследование: TokenFilter
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
HunspellStemFilter ( TokenStream input, HunspellDictionary dictionary, System.Boolean dedup = true ) : System

Creates a new HunspellStemFilter that will stem tokens from the given TokenStream using affix rules in the provided HunspellDictionary.

IncrementToken ( ) : System.Boolean
Reset ( ) : void

Описание методов

HunspellStemFilter() публичный Метод

Creates a new HunspellStemFilter that will stem tokens from the given TokenStream using affix rules in the provided HunspellDictionary.
public HunspellStemFilter ( TokenStream input, HunspellDictionary dictionary, System.Boolean dedup = true ) : System
input TokenStream TokenStream whose tokens will be stemmed.
dictionary HunspellDictionary HunspellDictionary containing the affix rules and words that will be used to stem the tokens.
dedup System.Boolean true if only unique terms should be output.
Результат System

IncrementToken() публичный Метод

public IncrementToken ( ) : System.Boolean
Результат System.Boolean

Reset() публичный Метод

public Reset ( ) : void
Результат void