Spaces:
Running
Running
Commit
·
c2eb158
1
Parent(s):
f43f7c7
universal humanizer
Browse files
app.py
CHANGED
|
@@ -10,6 +10,7 @@ def ensure_nltk_resources():
|
|
| 10 |
"""Ensure minimal NLTK data for tokenizing and lemmatization."""
|
| 11 |
resources = {
|
| 12 |
'punkt': 'tokenizers/punkt',
|
|
|
|
| 13 |
'wordnet': 'corpora/wordnet',
|
| 14 |
'omw-1.4': 'corpora/omw-1.4'
|
| 15 |
}
|
|
|
|
| 10 |
"""Ensure minimal NLTK data for tokenizing and lemmatization."""
|
| 11 |
resources = {
|
| 12 |
'punkt': 'tokenizers/punkt',
|
| 13 |
+
'punkt_tab': 'tokenizers/punkt_tab',
|
| 14 |
'wordnet': 'corpora/wordnet',
|
| 15 |
'omw-1.4': 'corpora/omw-1.4'
|
| 16 |
}
|