本文整理汇总了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));
}