Serialized Form
-
Package com.optimaize.langdetect.cybozu.util
-
Class com.optimaize.langdetect.cybozu.util.LangProfile extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
freq
java.util.Map<java.lang.String,java.lang.Integer> freq
Deprecated.Key = ngram, value = count. All n-grams are in here (1-gram, 2-gram, 3-gram). -
name
java.lang.String name
Deprecated.The language name (identifier). -
nWords
int[] nWords
Deprecated.Tells how many occurrences of n-grams exist per gram length. When making 1grams, 2grams and 3grams (currently) then this contains 3 entries where element 0 = number occurrences of 1-grams element 1 = number occurrences of 2-grams element 2 = number occurrences of 3-grams Example: if there are 57 1-grams (English language has about that many) and the training text is fairly long, then this number is in the millions.
-
-