瀏覽代碼

delete a rule

chencheng 1 年之前
父節點
當前提交
59905d6f54
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      cores/post_decorators.py

+ 0 - 1
cores/post_decorators.py

@@ -59,7 +59,6 @@ def rule3_decorator(f, *args, **kwargs):
     predict_line = [re.sub('脂扇', '脂肪', s) for s in predict_line]
     predict_line = [re.sub('勿(.*克)', '\\1', s) for s in predict_line]
     predict_line = [re.sub('毫 克', '毫克', s) for s in predict_line]
-    predict_line = [re.sub('能量.', '能量', s) for s in predict_line]
     predict_line = [re.sub('——精', '——糖', s) for s in predict_line]
     return predict_line