Package org.apache.tika.eval.core.tokens
Class CommonTokenResult
java.lang.Object
org.apache.tika.eval.core.tokens.CommonTokenResult
- 
Constructor SummaryConstructorsConstructorDescriptionCommonTokenResult(String langCode, int uniqueCommonTokens, int commonTokens, int uniqueAlphabeticTokens, int alphabeticTokens) 
- 
Method Summary
- 
Constructor Details- 
CommonTokenResultpublic CommonTokenResult(String langCode, int uniqueCommonTokens, int commonTokens, int uniqueAlphabeticTokens, int alphabeticTokens) 
 
- 
- 
Method Details- 
getLangCode- Returns:
- the language used to select the common_tokens list
 
- 
getCommonTokenspublic int getCommonTokens()- Returns:
- total number of "common tokens"
 
- 
getUniqueCommonTokenspublic int getUniqueCommonTokens()- Returns:
- number of unique "common tokens" (types)
 
- 
getUniqueAlphabeticTokenspublic int getUniqueAlphabeticTokens()- Returns:
- number of unique alphabetic tokens (types)
 
- 
getAlphabeticTokenspublic int getAlphabeticTokens()- Returns:
- number of tokens that had at least one alphabetic/ideographic character whether or not a common token
 
- 
getOOVpublic double getOOV()
 
-