Class TokenStatistics

java.lang.Object
org.apache.tika.eval.core.tokens.TokenStatistics

public class TokenStatistics extends Object
  • Constructor Details

    • TokenStatistics

      public TokenStatistics(int totalUniqueTokens, int totalTokens, TokenIntPair[] topN, double entropy, org.apache.commons.math3.stat.descriptive.SummaryStatistics summaryStatistics)
  • Method Details

    • getTotalTokens

      public int getTotalTokens()
    • getTotalUniqueTokens

      public int getTotalUniqueTokens()
    • getTopN

      public TokenIntPair[] getTopN()
    • getEntropy

      public double getEntropy()
    • getSummaryStatistics

      public org.apache.commons.math3.stat.descriptive.SummaryStatistics getSummaryStatistics()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object