You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
以下代码运行报错:TypeError: argument 'stn_length': 'float' object cannot be interpreted as an integer
raw = open(file_name, encoding = 'utf-8').read()
sents = StnSplit().split(raw)
for sent in sents:
result = ltp.pipeline([sent], tasks = ["cws", "pos", "dep"])
但是,如果tasks中只保留“cws”和"pos",则运行正常。
The text was updated successfully, but these errors were encountered:
以下代码运行报错:TypeError: argument 'stn_length': 'float' object cannot be interpreted as an integer
但是,如果tasks中只保留“cws”和"pos",则运行正常。
The text was updated successfully, but these errors were encountered: