Skip to content

Commit

Permalink
Merge pull request #11 from kadirnar/fix_nltk
Browse files Browse the repository at this point in the history
🔄 refactor: move nltk import and download to test.py
  • Loading branch information
kadirnar authored Jan 22, 2025
2 parents 8116d0d + 68e7636 commit b1490d4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

```bash
pip install meloplus
python -m unidic download
```

## 🎙️ Usage
Expand Down
2 changes: 1 addition & 1 deletion meloplus/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from meloplus.api import TTS as MeloInference

__version__ = '0.0.7'
__version__ = '0.0.8'
__author__ = 'kadirnar'
__license__ = 'Apache License 2.0'
3 changes: 3 additions & 0 deletions test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from meloplus import MeloInference
import nltk

nltk.download('averaged_perceptron_tagger_eng')

# Speed is adjustable
speed = 1.0
Expand Down

0 comments on commit b1490d4

Please sign in to comment.