Class SmartChineseAnalyzer.DefaultSetHolder

  • Enclosing class:
    SmartChineseAnalyzer

    private static class SmartChineseAnalyzer.DefaultSetHolder
    extends java.lang.Object
    Atomically loads the DEFAULT_STOP_SET in a lazy fashion once the outer class accesses the static final set the first time.;
    • Field Detail

      • DEFAULT_STOP_SET

        static final CharArraySet DEFAULT_STOP_SET
    • Constructor Detail

      • DefaultSetHolder

        private DefaultSetHolder()
    • Method Detail

      • loadDefaultStopWordSet

        static CharArraySet loadDefaultStopWordSet()
                                            throws java.io.IOException
        Throws:
        java.io.IOException