Word Frequencies
Returns word frequency based on a language. This component builds upon the great work of wordfreq.py
by LuminosoInsight.
Functions
Link copied to clipboard
public final Map<String, Float> getAllWordFrequenciesOrNull(LanguageSupport language, WordFrequencySize size)
Content copied to clipboard
Link copied to clipboard
public final Map<String, Float> getAllZipfFrequenciesOrNull(LanguageSupport language, WordFrequencySize size)
Content copied to clipboard
Link copied to clipboard
public final Float wordFrequency( String word, LanguageSupport language, Float minimum, WordFrequencySize size)
Content copied to clipboard
Link copied to clipboard
public final Float wordFrequencyOrNull( String word, LanguageSupport language, WordFrequencySize size)
Content copied to clipboard
Link copied to clipboard
public final Float zipfFrequency( String word, LanguageSupport language, Float minimum, WordFrequencySize size)
Content copied to clipboard
Link copied to clipboard
public final Float zipfFrequencyOrNull( String word, LanguageSupport language, WordFrequencySize size)
Content copied to clipboard