当前位置: 首页>>代码示例>>Java>>正文


Java CharArraySet.unmodifiableSet方法代码示例

本文整理汇总了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));
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:10,代码来源:NorwegianAnalyzer.java

示例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));
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:10,代码来源:SpanishAnalyzer.java

示例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));
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:10,代码来源:LatvianAnalyzer.java

示例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));
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:10,代码来源:HungarianAnalyzer.java

示例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));
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:10,代码来源:IrishAnalyzer.java

示例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));
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:10,代码来源:TurkishAnalyzer.java

示例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));
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:10,代码来源:RomanianAnalyzer.java

示例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));
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:10,代码来源:GalicianAnalyzer.java

示例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));
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:10,代码来源:SwedishAnalyzer.java

示例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));
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:10,代码来源:IndonesianAnalyzer.java

示例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));
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:9,代码来源:BrazilianAnalyzer.java

示例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));
}
 
开发者ID:baidu,项目名称:Elasticsearch,代码行数:6,代码来源:SnowballAnalyzer.java

示例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));
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:13,代码来源:GermanAnalyzer.java

示例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));
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:13,代码来源:PortugueseAnalyzer.java

示例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));
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:12,代码来源:CzechAnalyzer.java


注:本文中的org.apache.lucene.analysis.util.CharArraySet.unmodifiableSet方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。