Interface ISegment

    • Field Detail

      • SIMPLE

        static final ISegment.Type SIMPLE
        Segmentation type constants
      • SIMPLE_MODE

        static final int SIMPLE_MODE
        Segmentation type index
      • COMPLEX_MODE

        static final int COMPLEX_MODE
      • DETECT_MODE

        static final int DETECT_MODE
      • MOST_MODE

        static final int MOST_MODE
      • NLP_MODE

        static final int NLP_MODE
      • DELIMITER_MODE

        static final int DELIMITER_MODE
      • NGRAM_MODE

        static final int NGRAM_MODE
      • CHECK_CE_MASk

        static final int CHECK_CE_MASk
        Whether to check the Chinese and English mixed word.
        See Also:
        Constant Field Values
      • CHECK_CF_MASK

        static final int CHECK_CF_MASK
        Whether to check the Chinese fraction.
        See Also:
        Constant Field Values
      • START_SS_MASK

        static final int START_SS_MASK
        Whether to start the Latin secondary segmentation.
        See Also:
        Constant Field Values
      • CHECK_EC_MASK

        static final int CHECK_EC_MASK
        Whether to check the English Chinese mixed suffix For the new implementation of the mixed word recognition Added at 2016/11/22
        See Also:
        Constant Field Values
    • Method Detail

      • getStreamPosition

        int getStreamPosition()
        get the current length of the stream