Skip to content

Commit

Permalink
Kludge to handle lists of senses after "inflection of ____:"
Browse files Browse the repository at this point in the history
  • Loading branch information
kristian-clausal committed Feb 23, 2024
1 parent d135b89 commit f9b8a81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wiktextract/extractor/en/page.py
Original file line number Diff line number Diff line change
Expand Up @@ -1702,6 +1702,8 @@ def extract_link_texts(item: GeneralNode) -> None:
rawgloss = ""
elif rawgloss == "Technical or specialized senses.":
rawgloss = ""
elif rawgloss.startswith("inflection of "):
data_append(sense_base, "tags", "form-of")
if rawgloss:
data_append(sense_base, "glosses", rawgloss)
if rawgloss in ("A person:",):
Expand Down

0 comments on commit f9b8a81

Please sign in to comment.