本文整理匯總了Java中org.apache.lucene.analysis.util.CharArraySet.unmodifiableSet方法的典型用法代碼示例。如果您正苦於以下問題:Java CharArraySet.unmodifiableSet方法的具體用法?Java CharArraySet.unmodifiableSet怎麽用?Java CharArraySet.unmodifiableSet使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類org.apache.lucene.analysis.util.CharArraySet
的用法示例。
在下文中一共展示了CharArraySet.unmodifiableSet方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: NorwegianAnalyzer
import org.apache.lucene.analysis.util.CharArraySet; //導入方法依賴的package包/類
/**
* @deprecated Use {@link #NorwegianAnalyzer(CharArraySet,CharArraySet)}
*/
@Deprecated
public NorwegianAnalyzer(Version matchVersion, CharArraySet stopwords, CharArraySet stemExclusionSet) {
super(matchVersion, stopwords);
this.stemExclusionSet = CharArraySet.unmodifiableSet(CharArraySet.copy(
matchVersion, stemExclusionSet));
}
示例2: SpanishAnalyzer
import org.apache.lucene.analysis.util.CharArraySet; //導入方法依賴的package包/類
/**
* @deprecated Use {@link #SpanishAnalyzer(CharArraySet,CharArraySet)}
*/
@Deprecated
public SpanishAnalyzer(Version matchVersion, CharArraySet stopwords, CharArraySet stemExclusionSet) {
super(matchVersion, stopwords);
this.stemExclusionSet = CharArraySet.unmodifiableSet(CharArraySet.copy(
matchVersion, stemExclusionSet));
}
示例3: LatvianAnalyzer
import org.apache.lucene.analysis.util.CharArraySet; //導入方法依賴的package包/類
/**
* @deprecated Use {@link #LatvianAnalyzer(CharArraySet,CharArraySet)}
*/
@Deprecated
public LatvianAnalyzer(Version matchVersion, CharArraySet stopwords, CharArraySet stemExclusionSet) {
super(matchVersion, stopwords);
this.stemExclusionSet = CharArraySet.unmodifiableSet(CharArraySet.copy(
matchVersion, stemExclusionSet));
}
示例4: HungarianAnalyzer
import org.apache.lucene.analysis.util.CharArraySet; //導入方法依賴的package包/類
/**
* @deprecated Use {@link #HungarianAnalyzer(CharArraySet,CharArraySet)}
*/
@Deprecated
public HungarianAnalyzer(Version matchVersion, CharArraySet stopwords, CharArraySet stemExclusionSet) {
super(matchVersion, stopwords);
this.stemExclusionSet = CharArraySet.unmodifiableSet(CharArraySet.copy(
matchVersion, stemExclusionSet));
}
示例5: IrishAnalyzer
import org.apache.lucene.analysis.util.CharArraySet; //導入方法依賴的package包/類
/**
* @deprecated Use {@link #IrishAnalyzer(CharArraySet,CharArraySet)}
*/
@Deprecated
public IrishAnalyzer(Version matchVersion, CharArraySet stopwords, CharArraySet stemExclusionSet) {
super(matchVersion, stopwords);
this.stemExclusionSet = CharArraySet.unmodifiableSet(CharArraySet.copy(
matchVersion, stemExclusionSet));
}
示例6: TurkishAnalyzer
import org.apache.lucene.analysis.util.CharArraySet; //導入方法依賴的package包/類
/**
* @deprecated Use {@link #TurkishAnalyzer(CharArraySet,CharArraySet)}
*/
@Deprecated
public TurkishAnalyzer(Version matchVersion, CharArraySet stopwords, CharArraySet stemExclusionSet) {
super(matchVersion, stopwords);
this.stemExclusionSet = CharArraySet.unmodifiableSet(CharArraySet.copy(
matchVersion, stemExclusionSet));
}
示例7: RomanianAnalyzer
import org.apache.lucene.analysis.util.CharArraySet; //導入方法依賴的package包/類
/**
* @deprecated Use {@link #RomanianAnalyzer(CharArraySet,CharArraySet)}
*/
@Deprecated
public RomanianAnalyzer(Version matchVersion, CharArraySet stopwords, CharArraySet stemExclusionSet) {
super(matchVersion, stopwords);
this.stemExclusionSet = CharArraySet.unmodifiableSet(CharArraySet.copy(
matchVersion, stemExclusionSet));
}
示例8: GalicianAnalyzer
import org.apache.lucene.analysis.util.CharArraySet; //導入方法依賴的package包/類
/**
* @deprecated Use {@link #GalicianAnalyzer(CharArraySet,CharArraySet)}
*/
@Deprecated
public GalicianAnalyzer(Version matchVersion, CharArraySet stopwords, CharArraySet stemExclusionSet) {
super(matchVersion, stopwords);
this.stemExclusionSet = CharArraySet.unmodifiableSet(CharArraySet.copy(
matchVersion, stemExclusionSet));
}
示例9: SwedishAnalyzer
import org.apache.lucene.analysis.util.CharArraySet; //導入方法依賴的package包/類
/**
* @deprecated Use {@link #SwedishAnalyzer(CharArraySet,CharArraySet)}
*/
@Deprecated
public SwedishAnalyzer(Version matchVersion, CharArraySet stopwords, CharArraySet stemExclusionSet) {
super(matchVersion, stopwords);
this.stemExclusionSet = CharArraySet.unmodifiableSet(CharArraySet.copy(
matchVersion, stemExclusionSet));
}
示例10: IndonesianAnalyzer
import org.apache.lucene.analysis.util.CharArraySet; //導入方法依賴的package包/類
/**
* @deprecated Use {@link #IndonesianAnalyzer(CharArraySet, CharArraySet)}
*/
@Deprecated
public IndonesianAnalyzer(Version matchVersion, CharArraySet stopwords, CharArraySet stemExclusionSet){
super(matchVersion, stopwords);
this.stemExclusionSet = CharArraySet.unmodifiableSet(CharArraySet.copy(
matchVersion, stemExclusionSet));
}
示例11: BrazilianAnalyzer
import org.apache.lucene.analysis.util.CharArraySet; //導入方法依賴的package包/類
/**
* @deprecated Use {@link #BrazilianAnalyzer(CharArraySet,CharArraySet)}
*/
@Deprecated
public BrazilianAnalyzer(Version matchVersion, CharArraySet stopwords, CharArraySet stemExclusionSet) {
this(matchVersion, stopwords);
excltable = CharArraySet.unmodifiableSet(CharArraySet.copy(matchVersion, stemExclusionSet));
}
示例12: SnowballAnalyzer
import org.apache.lucene.analysis.util.CharArraySet; //導入方法依賴的package包/類
/** Builds the named analyzer with the given stop words. */
public SnowballAnalyzer(String name, CharArraySet stopWords) {
this(name);
stopSet = CharArraySet.unmodifiableSet(CharArraySet.copy(stopWords));
}
示例13: GermanAnalyzer
import org.apache.lucene.analysis.util.CharArraySet; //導入方法依賴的package包/類
/**
* Builds an analyzer with the given stop words
*
* @param stopwords
* a stopword set
* @param stemExclusionSet
* a stemming exclusion set
*/
public GermanAnalyzer(CharArraySet stopwords, CharArraySet stemExclusionSet) {
super(stopwords);
exclusionSet = CharArraySet.unmodifiableSet(CharArraySet.copy(stemExclusionSet));
}
示例14: PortugueseAnalyzer
import org.apache.lucene.analysis.util.CharArraySet; //導入方法依賴的package包/類
/**
* Builds an analyzer with the given stop words. If a non-empty stem exclusion set is
* provided this analyzer will add a {@link SetKeywordMarkerFilter} before
* stemming.
*
* @param stopwords a stopword set
* @param stemExclusionSet a set of terms not to be stemmed
*/
public PortugueseAnalyzer(CharArraySet stopwords, CharArraySet stemExclusionSet) {
super(stopwords);
this.stemExclusionSet = CharArraySet.unmodifiableSet(CharArraySet.copy(stemExclusionSet));
}
示例15: CzechAnalyzer
import org.apache.lucene.analysis.util.CharArraySet; //導入方法依賴的package包/類
/**
* Builds an analyzer with the given stop words and a set of work to be
* excluded from the {@link CzechStemFilter}.
*
* @param stopwords a stopword set
* @param stemExclusionTable a stemming exclusion set
*/
public CzechAnalyzer(CharArraySet stopwords, CharArraySet stemExclusionTable) {
super(stopwords);
this.stemExclusionTable = CharArraySet.unmodifiableSet(CharArraySet.copy(stemExclusionTable));
}