|
@@ -125,7 +125,6 @@ def rule7_decorator(f, *args, **kwargs):
|
|
predict_line = ['项目 ', '', '每份(70g)营养素参考值%', '']
|
|
predict_line = ['项目 ', '', '每份(70g)营养素参考值%', '']
|
|
'''
|
|
'''
|
|
predict_line = f(*args, **kwargs)
|
|
predict_line = f(*args, **kwargs)
|
|
- print('-=-=', predict_line)
|
|
|
|
try:
|
|
try:
|
|
if '项目' in predict_line[0] or '项' in predict_line[0] or '目' in predict_line[0]:
|
|
if '项目' in predict_line[0] or '项' in predict_line[0] or '目' in predict_line[0]:
|
|
predict_line[0] = '项目'
|
|
predict_line[0] = '项目'
|
|
@@ -139,7 +138,6 @@ def rule8_decorator(f, *args, **kwargs):
|
|
predict_line = ['项目 ', '', '每份(70g)营养素参考值%', '']
|
|
predict_line = ['项目 ', '', '每份(70g)营养素参考值%', '']
|
|
'''
|
|
'''
|
|
predict_line = f(*args, **kwargs)
|
|
predict_line = f(*args, **kwargs)
|
|
- print('-=-=', predict_line)
|
|
|
|
try:
|
|
try:
|
|
if len(predict_line) >= 3 \
|
|
if len(predict_line) >= 3 \
|
|
and '' == predict_line[0] \
|
|
and '' == predict_line[0] \
|