public class TokenStatistics extends Object
Constructor and Description |
---|
TokenStatistics(int totalUniqueTokens,
int totalTokens,
TokenIntPair[] topN,
double entropy,
org.apache.commons.math3.stat.descriptive.SummaryStatistics summaryStatistics) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
double |
getEntropy() |
org.apache.commons.math3.stat.descriptive.SummaryStatistics |
getSummaryStatistics() |
TokenIntPair[] |
getTopN() |
int |
getTotalTokens() |
int |
getTotalUniqueTokens() |
int |
hashCode() |
String |
toString() |
public TokenStatistics(int totalUniqueTokens, int totalTokens, TokenIntPair[] topN, double entropy, org.apache.commons.math3.stat.descriptive.SummaryStatistics summaryStatistics)
public int getTotalTokens()
public int getTotalUniqueTokens()
public TokenIntPair[] getTopN()
public double getEntropy()
public org.apache.commons.math3.stat.descriptive.SummaryStatistics getSummaryStatistics()
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.