程序包 org.ansj.lucene9

类 AnsjAnalyzer

java.lang.Object
org.apache.lucene.analysis.Analyzer
org.ansj.lucene9.AnsjAnalyzer
所有已实现的接口:
Closeable, AutoCloseable

public class AnsjAnalyzer extends org.apache.lucene.analysis.Analyzer
  • 嵌套类概要

    嵌套类
    修饰符和类型
    类
    说明
    static enum 
    dic equals user , query equals to

    从类继承的嵌套类/接口 org.apache.lucene.analysis.Analyzer

    org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final org.nlpcn.commons.lang.util.logging.Log
     

    从类继承的字段 org.apache.lucene.analysis.Analyzer

    GLOBAL_REUSE_STRATEGY, PER_FIELD_REUSE_STRATEGY
  • 构造器概要

    构造器
    构造器
    说明
     
     
     
    AnsjAnalyzer(org.apache.lucene.analysis.Analyzer.ReuseStrategy reuseStrategy, Map<String,String> args)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents
     
    static org.apache.lucene.analysis.Tokenizer
    获得一个tokenizer

    从类继承的方法 org.apache.lucene.analysis.Analyzer

    attributeFactory, close, getOffsetGap, getPositionIncrementGap, getReuseStrategy, initReader, initReaderForNormalization, normalize, normalize, tokenStream, tokenStream

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • LOG

      public static final org.nlpcn.commons.lang.util.logging.Log LOG
  • 构造器详细资料

  • 方法详细资料

    • createComponents

      protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(String fieldName)
      指定者:
      createComponents 在类中 org.apache.lucene.analysis.Analyzer
    • getTokenizer

      public static org.apache.lucene.analysis.Tokenizer getTokenizer(Reader reader, Map<String,String> args)
      获得一个tokenizer
      参数:
      reader -
      type -
      filter -
      返回: