ltp icon indicating copy to clipboard operation
ltp copied to clipboard

报错AttributeError: 'tuple' object has no attribute 'head'

Open eleven1yeah opened this issue 1 year ago • 1 comments

我python版本是3.7,安装的pyltp版本是0.4.0,ltp模型是3.4.0,安装完测试的时候,发现在使用依存句法分析模型parser.model的时候报AttributeError: 'tuple' object has no attribute 'head'这个错误,请问是版本不匹配的问题么

eleven1yeah avatar Jun 18 '23 10:06 eleven1yeah

版本应该是匹配的,直接打印一下结果呢?

AlongWY avatar Jun 28 '23 03:06 AlongWY