Jelajahi Sumber

delete a rule

chencheng 11 bulan lalu
induk
melakukan
59905d6f54
1 mengubah file dengan 0 tambahan dan 1 penghapusan
  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