Skip to content

Commit

Permalink
Move pronunciations.py to extractor/en/pronunciations.py
Browse files Browse the repository at this point in the history
This file is only used in en edition extractor, move it to the
`extractor/en` folder is for preparing move `zh_pron_tags.json` file
to Python code.
  • Loading branch information
xxyzz committed Feb 23, 2024
1 parent 57b433c commit 71a3607
Show file tree
Hide file tree
Showing 2 changed files with 161 additions and 112 deletions.
2 changes: 1 addition & 1 deletion src/wiktextract/extractor/en/page.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ def parse_language(
defined on the page one at a time. (Individual word senses for the
same part-of-speech are typically encoded in the same entry.)"""
# imported here to avoid circular import
from wiktextract.pronunciations import parse_pronunciation
from .pronunciations import parse_pronunciation

assert isinstance(wxr, WiktextractContext)
assert isinstance(langnode, WikiNode)
Expand Down
Loading

0 comments on commit 71a3607

Please sign in to comment.