Skip to content

Commit

Permalink
fix: eng is already in the langs now, no need to hardcode
Browse files Browse the repository at this point in the history
  • Loading branch information
joanise committed Apr 14, 2023
1 parent c06ae5d commit b038ad2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions g2p/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,6 @@ def get_langs():
and has_path(LANGS_NETWORK, x, "eng-arpabet")
]

# Hack to allow old English LexiconG2P
if "eng" not in _langs_cache:
_langs_cache += ["eng"]
# Sort LANGS so the -h messages list them alphabetically
_langs_cache = sorted(_langs_cache)

Expand Down

0 comments on commit b038ad2

Please sign in to comment.