當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。