Class LanguageProfileImpl.Stats

java.lang.Object
com.optimaize.langdetect.profiles.LanguageProfileImpl.Stats
Enclosing class:
LanguageProfileImpl

private static class LanguageProfileImpl.Stats extends Object
  • Field Details

    • numOccurrences

      @NotNull private final @NotNull Map<Integer,Long> numOccurrences
      Key = gram length (1-3 or so). Value = number of all occurrences of these grams combined.
    • minGramCounts

      @NotNull private final @NotNull Map<Integer,Long> minGramCounts
      Key = gram length (1-3 or so). Value = number of occurrences of the n-gram that occurs the least often. this can be 1, or larger if a cutoff was applied to remove infrequent grams.
    • maxGramCounts

      @NotNull private final @NotNull Map<Integer,Long> maxGramCounts
      Key = gram length (1-3 or so). Value = number of occurrences of the n-gram that occurs the most often.
  • Constructor Details