Skip to content

Commit

Permalink
Clean node before assigning to German Wiktionary translation data
Browse files Browse the repository at this point in the history
This work is a contribution to the EWOK project, which receives funding from LABEX ASLAN (ANR–10–LABX–0081) at the Université de Lyon, as part of the "Investissements d'Avenir" program initiated and overseen by the Agence Nationale de la Recherche (ANR) in France.
  • Loading branch information
empiriker committed Oct 31, 2023
1 parent fdb3c43 commit 28697b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wiktextract/extractor/de/translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def process_Üt_template(
):
transcription = template_node.template_parameters.get(3)
if transcription:
translation_data["roman"] = transcription
translation_data["roman"] = clean_node(wxr, {}, transcription)
# Look for automatic transcription
else:
cleaned_node = clean_node(wxr, {}, template_node)
Expand Down

0 comments on commit 28697b9

Please sign in to comment.