From 6f1a9aaff16c391efcd77e7fa7244ddd228d927b Mon Sep 17 00:00:00 2001 From: Rob Speer Date: Wed, 14 Mar 2018 17:33:35 -0400 Subject: [PATCH] remove LAUGHTER_WORDS, which is now unused This was a fun Twitter test, but we don't do that anymore --- tests/test.py | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/tests/test.py b/tests/test.py index e398b3a..de82d9a 100644 --- a/tests/test.py +++ b/tests/test.py @@ -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