Skip to content

Commit 9e7ea4c

Browse files
committed
dutch lang support
1 parent 036f620 commit 9e7ea4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/get_answer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def _get_answer_for_question(topic):
300300
print("query_text = ", query_text)
301301
supposed_lang = detector.languages[0].code
302302
print("supposed lang = ", supposed_lang)
303-
if len(topic_words) > 2 or supposed_lang in ['az', 'ru', 'uk', 'de', 'fr', 'es', 'it']:
303+
if len(topic_words) > 2 or supposed_lang in ['az', 'ru', 'uk', 'de', 'fr', 'es', 'it', 'nl']:
304304
lang = supposed_lang
305305
if supposed_lang.startswith('zh_') or supposed_lang == 'zh':
306306
lang = 'zh'

0 commit comments

Comments
 (0)