ltp
ltp copied to clipboard
Language Technology Platform
我在运行 ` from ltp import LTP ltp = LTP() ` 的时候报错: ` config.json not found in HuggingFace Hub Traceback (most recent call last): File "C:\setup\PyCharm Community Edition 2021.2.2\plugins\python-ce\helpers\pydev\pydevd.py", line 1483,...
使用ltp进行实体识别时,有的case会报错: free(): invalid next size (fast) Aborted (core dumped) 使用方式如下: output = ltp_model.pipeline([sentences], tasks=["cws", "ner"]) res = output.ner 使用的包版本如下: ltp 4.2.13 ltp-core 0.1.4 ltp-extension 0.1.11 具体错误位置:使用faulthandler,定位最初错误位置在  指的一提的是,有的时候是可以成功的,有的时候会报错,是需要扩大内存吗?
在使用实体识别时,输入一整篇文章,返回结果为空,但仅输入其中的句子时,则可以返回正常结果,请问是在处理前需要进行分句处理嘛?
在说明文档中没有看到有相关的内容,求助一下。
请问有谁知道怎么对下载的模型进行训练吗,我想训练DEP任务,但是不知道具体步骤是怎么样的
Updates the requirements on [itertools](https://github.com/rust-itertools/itertools) to permit the latest version. Changelog Sourced from itertools's changelog. 0.12.0 Breaking Made take_while_inclusive consume iterator by value (#709) Added Clone bound to Unique (#777)...
model used:models-LTP-base1 examples:“朝鲜人民民主主义共和国”,“硫酸氢氯吡格雷片”
对于ltp4.2.0,在使用add_words之后特殊情况下的报错。直觉上是添加了word(如‘abc')之后,输入类似”xabc“这样的词会出现这样的问题: 输入 ``` ltp.add_words(['800000股']) ltp.pipeline(['3800000股'], tasks=["cws", "pos"]) ``` 报错信息为KeyError ``` Traceback (most recent call last) Cell In[57], line 1 ----> 1 ltp.pipeline(['3800000股'], tasks=["cws", "pos"]) File D:\software\anaconda\envs\EDEE\lib\site-packages\ltp\nerual.py:24, in no_grad..wrapper(*args, **kwargs) 22...
- 系统:Windows11 - 概况:已配置好 cmake 和 MinGW-w64,下载了 LTP4.2.0 发现无法通过 cmake 编译 - 异常信息: The source directory "D:/Software/LTP/ltp-4.2.0" does not appear to contain CMakeLists.txt - 其他情况:3.4.0 源码是可以编译的,另外[LTP4的文档](https://ltp.readthedocs.io/zh-cn/latest/)也没有描述如何编译的方式,但是[LTP3.3.1](https://ltp.readthedocs.io/zh-cn/3.3.1/begin.html)文档是有描述编译的方式 以上情况是否表示 LTP4 关闭了 otcws,otpos,otner...
Updates the requirements on [pyo3](https://github.com/pyo3/pyo3) to permit the latest version. Release notes Sourced from pyo3's releases. PyO3 0.20.0 This release is the first PyO3 release to be dual-licensed under Apache...