Closed KrisTopherHao closed 9 months ago
Please provide a clear and concise description of what the question is. Traceback (most recent call last): File "pycorrector_klm.py", line 8, in corrected_sent, detail = model.correct('少先队员因该为老人让坐') ValueError: too many values to unpack (expected 2)
看下readme:
from pycorrector import Corrector m = Corrector() print(m.correct_batch(['少先队员因该为老人让坐', '你找到你最喜欢的工作,我也很高心。']))
Describe the Question
Please provide a clear and concise description of what the question is. Traceback (most recent call last): File "pycorrector_klm.py", line 8, in
corrected_sent, detail = model.correct('少先队员因该为老人让坐')
ValueError: too many values to unpack (expected 2)