Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -123,7 +123,7 @@ class CRF_POS_Tagger:
|
|
123 |
'is_numeric': word.isdigit(), #if word is in numeric
|
124 |
'capitals_inside': word[1:].lower() != word[1:],
|
125 |
'is_title_case': word.istitle(), #if first letter is in uppercase
|
126 |
-
'is_interjection': word.lower() in interjections,
|
127 |
}
|
128 |
|
129 |
if i > 0:
|
|
|
123 |
'is_numeric': word.isdigit(), #if word is in numeric
|
124 |
'capitals_inside': word[1:].lower() != word[1:],
|
125 |
'is_title_case': word.istitle(), #if first letter is in uppercase
|
126 |
+
'is_interjection': word.lower() in self.interjections,
|
127 |
}
|
128 |
|
129 |
if i > 0:
|