Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -80,8 +80,8 @@ def evaluate(
|
|
80 |
www = 1
|
81 |
if ttt in ' \t0123456789':
|
82 |
www = 0
|
83 |
-
elif ttt in '\r\n,.;?!"\':+-*/=#@$%^&_`~|<>\\()[]{},。;“”:?!()【】':
|
84 |
-
|
85 |
if token not in occurrence:
|
86 |
occurrence[token] = www
|
87 |
else:
|
|
|
80 |
www = 1
|
81 |
if ttt in ' \t0123456789':
|
82 |
www = 0
|
83 |
+
#elif ttt in '\r\n,.;?!"\':+-*/=#@$%^&_`~|<>\\()[]{},。;“”:?!()【】':
|
84 |
+
# www = 0.5
|
85 |
if token not in occurrence:
|
86 |
occurrence[token] = www
|
87 |
else:
|