We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab401ab commit a8604afCopy full SHA for a8604af
wikdict-reader/src/wikdict_reader/lookup.py
@@ -51,7 +51,7 @@ def basic_lookup(cur, phrase: str) -> Iterable:
51
52
53
def compound_lookup(compound_db_path, split_lang, phrase) -> list[str]:
54
- if not split_lang:
+ if split_lang not in wikdict_compound.supported_langs:
55
return []
56
57
split = wikdict_compound.split_compound(
0 commit comments