Interface IChunk

  • All Known Implementing Classes:
    Chunk

    public interface IChunk

    chunk interface for Jcseg. The most important concept for the mmseg chinese segment algorithm

    Author:
    chenxin
    • Method Detail

      • getWords

        IWord[] getWords()
        get the all the words in the chunk.
      • getAverageWordsLength

        double getAverageWordsLength()
        return the average word length for all the chunks.
      • getWordsVariance

        double getWordsVariance()
        return the variance of all the words in all the chunks.
      • getSingleWordsMorphemicFreedom

        double getSingleWordsMorphemicFreedom()
        return the degree of morphemic freedom for all the single words.
      • getSingleWordsFrequency

        int getSingleWordsFrequency()
      • getLength

        int getLength()
        return the length of the chunk(the number of the word)