Spaces:
Runtime error
Runtime error
tuned model
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ def LemNormalize(text):
|
|
75 |
|
76 |
def NLTK(input):
|
77 |
try:
|
78 |
-
f = open('
|
79 |
data = f.read()
|
80 |
data = data.lower()
|
81 |
sent_tokens = nltk.sent_tokenize(data)
|
|
|
75 |
|
76 |
def NLTK(input):
|
77 |
try:
|
78 |
+
f = open('corpus.txt', errors='strict')
|
79 |
data = f.read()
|
80 |
data = data.lower()
|
81 |
sent_tokens = nltk.sent_tokenize(data)
|