Interface NgramEntryStatistics

  • All Superinterfaces:
    EntryStatistics, java.io.Serializable
    All Known Implementing Classes:
    SimpleNgramEntryStatistics

    public interface NgramEntryStatistics
    extends EntryStatistics
    Represent statistics of n-grams, such as those used in sequence dependence models. These require to know the windows size.
    • Method Detail

      • getWindowSize

        int getWindowSize()
        Get the size of the window used to calculate an n-gram frequency
        Returns:
        number of tokens
      • setWindowSize

        void setWindowSize​(int ws)
        Update the window size