Ver código fonte

676table post_handler

chencheng 1 ano atrás
pai
commit
24e3f2a6cf
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      cores/post_decorators.py

+ 1 - 1
cores/post_decorators.py

@@ -60,7 +60,7 @@ def rule3_decorator(f, *args, **kwargs):
     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]
+    predict_line = [re.sub('——精', '——糖', s) for s in predict_line]
     return predict_line