Skip to content

Commit

Permalink
Add POS model to fr package data
Browse files Browse the repository at this point in the history
  • Loading branch information
synesthesiam committed Jul 10, 2021
1 parent 6e26155 commit 94ad1b9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gruut-lang-fr/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
with open(version_path, "r") as version_file:
version = version_file.read().strip()


extra_files = []

pos_model = module_dir / "pos" / "model.crf"
if pos_model.is_file():
extra_files.append(str(pos_model.relative_to(module_dir)))

# -----------------------------------------------------------------------------

setuptools.setup(
Expand All @@ -33,6 +40,7 @@
"espeak/lexicon.db",
"espeak/g2p/model.crf",
]
+ extra_files
},
classifiers=[
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit 94ad1b9

Please sign in to comment.