Class AnalyzerProfile


  • public class AnalyzerProfile
    extends java.lang.Object
    Manages analysis data configuration for SmartChineseAnalyzer

    SmartChineseAnalyzer has a built-in dictionary and stopword list out-of-box.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ANALYSIS_DATA_DIR
      Global indicating the configured analysis data directory
    • Constructor Summary

      Constructors 
      Constructor Description
      AnalyzerProfile()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.lang.String getAnalysisDataDir​(java.nio.file.Path propFile)  
      private static void init()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ANALYSIS_DATA_DIR

        public static java.lang.String ANALYSIS_DATA_DIR
        Global indicating the configured analysis data directory
    • Constructor Detail

      • AnalyzerProfile

        public AnalyzerProfile()
    • Method Detail

      • init

        private static void init()
      • getAnalysisDataDir

        private static java.lang.String getAnalysisDataDir​(java.nio.file.Path propFile)