From f9b8a81825806802c9b5b7c3de45521bfd7e06ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20J=C3=A4rventaus?= Date: Fri, 23 Feb 2024 13:17:02 +0200 Subject: [PATCH] Kludge to handle lists of senses after "inflection of ____:" --- src/wiktextract/extractor/en/page.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wiktextract/extractor/en/page.py b/src/wiktextract/extractor/en/page.py index 119b8e9b6..4b47102c2 100644 --- a/src/wiktextract/extractor/en/page.py +++ b/src/wiktextract/extractor/en/page.py @@ -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:",):