Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ download_nltk_resources()
|
|
| 28 |
top_words = set(stopwords.words("english")) # More efficient as a set
|
| 29 |
|
| 30 |
# Path to the thesaurus file
|
| 31 |
-
thesaurus_file_path = 'en_thesaurus.jsonl' # Ensure the file path is correct
|
| 32 |
|
| 33 |
# Function to load the thesaurus into a dictionary
|
| 34 |
def load_thesaurus(file_path):
|
|
|
|
| 28 |
top_words = set(stopwords.words("english")) # More efficient as a set
|
| 29 |
|
| 30 |
# Path to the thesaurus file
|
| 31 |
+
thesaurus_file_path = 'en_thesaurus.jsonl (1).old' # Ensure the file path is correct
|
| 32 |
|
| 33 |
# Function to load the thesaurus into a dictionary
|
| 34 |
def load_thesaurus(file_path):
|