mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 17:31:41 +00:00
Japanese people do not 'lol', they 'w'
This commit is contained in:
parent
6f02dfc883
commit
17f11ebd26
@ -23,7 +23,9 @@ def test_languages():
|
|||||||
|
|
||||||
# Laughter is the universal language
|
# Laughter is the universal language
|
||||||
for lang in avail:
|
for lang in avail:
|
||||||
if lang != 'zh': # we don't have enough Chinese data yet
|
if lang not in {'zh', 'ja'}:
|
||||||
|
# we do not have enough Chinese data
|
||||||
|
# Japanese people do not lol
|
||||||
assert_greater(word_frequency('lol', lang), 0)
|
assert_greater(word_frequency('lol', lang), 0)
|
||||||
|
|
||||||
# Make up a weirdly verbose language code and make sure
|
# Make up a weirdly verbose language code and make sure
|
||||||
|
Loading…
Reference in New Issue
Block a user