C# Класс Lucene.Net.Analysis.Shingle.ShingleAnalyzerWrapper

Наследование: Analyzer
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ShingleAnalyzerWrapper ( Analyzer defaultAnalyzer ) : Lucene.Net.Analysis.Standard
ShingleAnalyzerWrapper ( Analyzer defaultAnalyzer, int maxShingleSize ) : Lucene.Net.Analysis.Standard
ShingleAnalyzerWrapper ( Analyzer defaultAnalyzer, int minShingleSize, int maxShingleSize ) : Lucene.Net.Analysis.Standard
ShingleAnalyzerWrapper ( Analyzer @delegate, int minShingleSize, int maxShingleSize, string tokenSeparator, bool outputUnigrams, bool outputUnigramsIfNoShingles, string fillerToken ) : Lucene.Net.Analysis.Standard

Creates a new ShingleAnalyzerWrapper

ShingleAnalyzerWrapper ( LuceneVersion matchVersion ) : Lucene.Net.Analysis.Standard

Wraps StandardAnalyzer.

ShingleAnalyzerWrapper ( LuceneVersion matchVersion, int minShingleSize, int maxShingleSize ) : Lucene.Net.Analysis.Standard

Wraps StandardAnalyzer.

Защищенные методы

Метод Описание
GetWrappedAnalyzer ( string fieldName ) : Analyzer
WrapComponents ( string fieldName, TokenStreamComponents components ) : TokenStreamComponents

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

GetWrappedAnalyzer() защищенный Метод

protected GetWrappedAnalyzer ( string fieldName ) : Analyzer
fieldName string
Результат Analyzer

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

public ShingleAnalyzerWrapper ( Analyzer defaultAnalyzer ) : Lucene.Net.Analysis.Standard
defaultAnalyzer Analyzer
Результат Lucene.Net.Analysis.Standard

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

public ShingleAnalyzerWrapper ( Analyzer defaultAnalyzer, int maxShingleSize ) : Lucene.Net.Analysis.Standard
defaultAnalyzer Analyzer
maxShingleSize int
Результат Lucene.Net.Analysis.Standard

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

public ShingleAnalyzerWrapper ( Analyzer defaultAnalyzer, int minShingleSize, int maxShingleSize ) : Lucene.Net.Analysis.Standard
defaultAnalyzer Analyzer
minShingleSize int
maxShingleSize int
Результат Lucene.Net.Analysis.Standard

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

Creates a new ShingleAnalyzerWrapper
public ShingleAnalyzerWrapper ( Analyzer @delegate, int minShingleSize, int maxShingleSize, string tokenSeparator, bool outputUnigrams, bool outputUnigramsIfNoShingles, string fillerToken ) : Lucene.Net.Analysis.Standard
@delegate Analyzer
minShingleSize int Min shingle (token ngram) size
maxShingleSize int Max shingle size
tokenSeparator string Used to separate input stream tokens in output shingles
outputUnigrams bool Whether or not the filter shall pass the original /// tokens to the output stream
outputUnigramsIfNoShingles bool Overrides the behavior of outputUnigrams==false for those /// times when no shingles are available (because there are fewer than /// minShingleSize tokens in the input stream)? /// Note that if outputUnigrams==true, then unigrams are always output, /// regardless of whether any shingles are available.
fillerToken string filler token to use when positionIncrement is more than 1
Результат Lucene.Net.Analysis.Standard

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

Wraps StandardAnalyzer.
public ShingleAnalyzerWrapper ( LuceneVersion matchVersion ) : Lucene.Net.Analysis.Standard
matchVersion LuceneVersion
Результат Lucene.Net.Analysis.Standard

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

Wraps StandardAnalyzer.
public ShingleAnalyzerWrapper ( LuceneVersion matchVersion, int minShingleSize, int maxShingleSize ) : Lucene.Net.Analysis.Standard
matchVersion LuceneVersion
minShingleSize int
maxShingleSize int
Результат Lucene.Net.Analysis.Standard

WrapComponents() защищенный Метод

protected WrapComponents ( string fieldName, TokenStreamComponents components ) : TokenStreamComponents
fieldName string
components TokenStreamComponents
Результат TokenStreamComponents