ltp icon indicating copy to clipboard operation
ltp copied to clipboard

Language Technology Platform

Results 114 ltp issues
Sort by recently updated
recently updated
newest added

安装的时候遇到Microsoft Visual C++ 14.0的问题,想问一下目前4.0版本是不支持docker安装了吗?

请问4.2版本的文档该去哪里找呢,想去使用下4.2的新功能

ltp = LTP("LTP/base2") ltp.add_words(words=['SCSG','IP地址']) ltp.pipeline(['SCSGIP地址'], tasks=["cws"]) 这种情况下报错 KeyError: 4

下面是报错信息,我只看了第一个ERROR,显示找不到符合版本要求的maturin,然后我去对应的PyPI页面查看,上面显示最新版本的确到了0.13,但是我使用pip install maturin=0.13.3安装对应的包,提示的报错信息也显示找不到对应的包 ``` Collecting ltp Using cached ltp-4.2.10-py3-none-any.whl (20 kB) Collecting ltp-core Using cached ltp_core-0.1.2-py3-none-any.whl (68 kB) Collecting ltp-extension Using cached ltp_extension-0.1.8.tar.gz (92 kB) Installing build dependencies ... error...

请问LTP是基于哪个语料库下载的呢

就是LTP有没有类似jieba、IK的分词器,可以供elasticsearch直接调用? 类似下面的analyzer analyzer="ik_smart" res=es.indices.analyze(body= { "analyzer": analyzer, "text": "我爱北京天安门" })

Python: 3.10.9 torch: 1.13.1 from ltp import LTP ltp = LTP() segment, _ = ltp.seg(["他叫汤姆去拿外衣。"]) 运行后出现 AttributeError: 'LTP' object has no attribute 'seg'

我运行如下程序: from ltp import LTP path = r"small" txt = "小明吃苹果。小明打篮球。" ltp = LTP(path) output = ltp.pipeline(txt, tasks=["cws", "pos"]) print(output.cws) print(output.pos) 得到了如下结果: ['小明', '吃', '苹果', '。', '小明', '打', '篮球', '。']...

thread '' panicked at 'byte index 3 is not a char boundary; it is inside '苯' (bytes 1..4) of ` 苯甲醛广泛用于医药、农药、染料、香料等行业.为了寻找产率高、成本低的新合成方法,人们进行了广泛的研究.本文用Grignard试剂与苯并咪唑盐合成苯甲醛.合成路线如下: `', rust\ltp\src\hook.rs:82:33 note: run with `RUST_BACKTRACE=1` environment variable to...