public class ShowDictionaryStatistics
extends java.lang.Object
Constructor and Description |
---|
ShowDictionaryStatistics(java.lang.String dictionary_file)
Constructor that specifies the dictionary and its language
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Prints statistics for a dictionary, including name, language, number of documents, number of tokens, minimum and
maximum IDF, list of tokenizers, and whether the dictionary has been trimmed
|
public ShowDictionaryStatistics(java.lang.String dictionary_file)
dictionary_file
- the string filename containing the serialized dictionarypublic static void main(java.lang.String[] args)
args
- array of string command line argumentsargs[0]
the filename containing the dictionary to show