ソースを参照

delete a rule

chencheng 11 ヶ月 前
コミット
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