Skip to content

Commit

Permalink
philter: update nltk model name to fix run error
Browse files Browse the repository at this point in the history
  • Loading branch information
mikix committed Aug 22, 2024
1 parent 35b3a75 commit 6a5ca18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cumulus_etl/deid/philter.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Philter:
def __init__(self):
# Ensure all the nltk data that our filter_config (below) needs is available.
# In docker deployments, these should already be shipped with our docker image.
nltk.download("averaged_perceptron_tagger", quiet=True)
nltk.download("averaged_perceptron_tagger_eng", quiet=True)

# philter-lite does not seem to have any easy way to reference this default config...?
filter_config = os.path.join(os.path.dirname(__file__), "philter-config.toml")
Expand Down

0 comments on commit 6a5ca18

Please sign in to comment.