Class Analyzer

    • Method Detail

      • isCustom

        public boolean isCustom()
        Is this variant instance of kind custom?
      • custom

        public CustomAnalyzer custom()
        Get the custom variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the custom kind.
      • isDutch

        public boolean isDutch()
        Is this variant instance of kind dutch?
      • dutch

        public DutchAnalyzer dutch()
        Get the dutch variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the dutch kind.
      • isFingerprint

        public boolean isFingerprint()
        Is this variant instance of kind fingerprint?
      • fingerprint

        public FingerprintAnalyzer fingerprint()
        Get the fingerprint variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the fingerprint kind.
      • isIcuAnalyzer

        public boolean isIcuAnalyzer()
        Is this variant instance of kind icu_analyzer?
      • icuAnalyzer

        public IcuAnalyzer icuAnalyzer()
        Get the icu_analyzer variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the icu_analyzer kind.
      • isKeyword

        public boolean isKeyword()
        Is this variant instance of kind keyword?
      • keyword

        public KeywordAnalyzer keyword()
        Get the keyword variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the keyword kind.
      • isKuromoji

        public boolean isKuromoji()
        Is this variant instance of kind kuromoji?
      • kuromoji

        public KuromojiAnalyzer kuromoji()
        Get the kuromoji variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the kuromoji kind.
      • isLanguage

        public boolean isLanguage()
        Is this variant instance of kind language?
      • language

        public LanguageAnalyzer language()
        Get the language variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the language kind.
      • isNori

        public boolean isNori()
        Is this variant instance of kind nori?
      • nori

        public NoriAnalyzer nori()
        Get the nori variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the nori kind.
      • isPattern

        public boolean isPattern()
        Is this variant instance of kind pattern?
      • pattern

        public PatternAnalyzer pattern()
        Get the pattern variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the pattern kind.
      • isSimple

        public boolean isSimple()
        Is this variant instance of kind simple?
      • simple

        public SimpleAnalyzer simple()
        Get the simple variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the simple kind.
      • isSnowball

        public boolean isSnowball()
        Is this variant instance of kind snowball?
      • snowball

        public SnowballAnalyzer snowball()
        Get the snowball variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the snowball kind.
      • isStandard

        public boolean isStandard()
        Is this variant instance of kind standard?
      • standard

        public StandardAnalyzer standard()
        Get the standard variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the standard kind.
      • isStop

        public boolean isStop()
        Is this variant instance of kind stop?
      • stop

        public StopAnalyzer stop()
        Get the stop variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the stop kind.
      • isWhitespace

        public boolean isWhitespace()
        Is this variant instance of kind whitespace?
      • whitespace

        public WhitespaceAnalyzer whitespace()
        Get the whitespace variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the whitespace kind.
      • isSmartcn

        public boolean isSmartcn()
        Is this variant instance of kind cjk?
      • smartcn

        public SmartcnAnalyzer smartcn()
        Get the cjk variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the cjk kind.
      • isCjk

        public boolean isCjk()
        Is this variant instance of kind cjk?
      • cjk

        public CjkAnalyzer cjk()
        Get the cjk variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the cjk kind.