Skip to content

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

@ligenxun

Description

@ligenxun

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

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions