Skip to content

Commit

Permalink
Do not filter out special lemmas. (#291)
Browse files Browse the repository at this point in the history
* Do not filter out special lemmas.

* Update lexicon/conversion.py

Co-authored-by: Sarah Beranek <[email protected]>
Co-authored-by: michelwi <[email protected]>
  • Loading branch information
3 people authored and Atticus1806 committed Jul 26, 2022
1 parent 1e1481d commit 41550d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lexicon/conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def run(self):
for lemma in old_lexicon.findall("lemma"):
if any(
transform(orth.text) in words
or "special" in lemma.attrib
or (orth.text is not None and orth.text.startswith("["))
for orth in lemma.findall("orth")
):
Expand Down

0 comments on commit 41550d1

Please sign in to comment.