mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 17:31:41 +00:00
Test that we can leave the wordlist unspecified and get 'large' freqs
This commit is contained in:
parent
47dac3b0b8
commit
1594ba3ad6
@ -15,6 +15,9 @@ def test_freq_examples():
|
||||
assert_greater(word_frequency('de', 'es'),
|
||||
word_frequency('the', 'es'))
|
||||
|
||||
# We get word frequencies from the 'large' list when available
|
||||
assert_greater(word_frequency('infrequency', 'en'), 0.)
|
||||
|
||||
|
||||
# To test the reasonableness of the Twitter list, we want to look up a
|
||||
# common word representing laughter in each language. The default for
|
||||
|
Loading…
Reference in New Issue
Block a user