BlinkDL commited on
Commit
6906fce
1 Parent(s): bbb068e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- www = 0.5
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: