ltp icon indicating copy to clipboard operation
ltp copied to clipboard

官方使用手册和实际代码之间有版本差?无法调试使用

Open ligenxun opened this issue 1 year ago • 0 comments

看见官方文档里,提到可以看支持的模型清单,但是安装后打印出来并没有这个方法。。

import ltp print(ltp.available_models())

Traceback (most recent call last): File "E:\MyCode\Python\cj_zl\planTesting\NLP\check.py", line 9, in print(ltp.available_models()) AttributeError: module 'ltp' has no attribute 'available_models'

ligenxun avatar Jun 04 '24 02:06 ligenxun