remove LAUGHTER_WORDS, which is now unused

This was a fun Twitter test, but we don't do that anymore
This commit is contained in:
Rob Speer 2018-03-14 17:33:35 -04:00
parent 1a761199cd
commit 6f1a9aaff1

View File

@ -19,30 +19,6 @@ def test_freq_examples():
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
# languages not listed here is 'haha'.
LAUGHTER_WORDS = {
'en': 'lol',
'hi': 'lol',
'cs': 'lol',
'ru': 'лол',
'zh': '',
'ja': '',
'ar': '',
'fa': 'خخخخ',
'ca': 'jaja',
'es': 'jaja',
'fr': 'ptdr',
'pt': 'kkkk',
'he': 'חחח',
'bg': 'ахаха',
'uk': 'хаха',
'bn': 'হা হা',
'mk': 'хаха'
}
def test_languages():
# Make sure we get all the languages when looking for the default
# 'best' wordlist