mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 09:21:37 +00:00
Test that we can leave the wordlist unspecified and get 'large' freqs
This commit is contained in:
parent
8e3dff3c1c
commit
53dc0bbb1a
@ -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