ltp
ltp copied to clipboard
Language Technology Platform
您好 我在服务器上部署了一个ltp服务 服务器配置是 内存 8g 的虚拟机 启动成功之后写了一个请求 的python 代码 ``` import requests resp = requests.post('http://127.0.0.1:5000',data = { 's': '我爱北京天安门', 'x': 'n', 't': 'all'}) print(resp.text) ``` 执行之后发现好久都没有输出执行结果,发现在执行ltp.seg() 时死了不太明白到底是什么原因? 
为了处理5万多行的分词数据,改写了脚本案例 import sys,os,time sys.path.append(os.path.abspath(os.path.dirname(__file__) + '/' + '..')) from ltp import LTP root_path=os.path.abspath(os.path.dirname(__file__) + '/' + '..') ltp = LTP(path = "base") url = "tests/zrbzdz.txt" t1 = time.time() url =...
请问可以不分词直接进行词性标注嘛,比如我现在已经有一个词典,需要进行词性标注
Hi, friends. I meet a problem when I use m1 MacBook install ltp. I run the command `pip install lip` There is the problem as follows: `Using legacy 'setup.py install'...
所有的4.*版本都试过了,全部都有这个问题........ Can't get attribute '_gpus_arg_default' on
想问一下 ltp-small 模型的 ner 训练数据集包含哪些,从哪能够获取?
It happens when I call ltp = LTP(path = "small.tgz")
```python def parse_srl(ltp, sent): seg, hidden = ltp.seg([sent]) seg = seg[0] srl = ltp.srl(hidden, keep_empty=False) srl = srl[0] for pred, args in srl: di = {} for name, start, end...
您好,请问我在 [ltp_server](https://github.com/smilelight/ltp_server) 里面调用了 add_words 增加自定义词语,加入了一些自定义词语。请问有办法查询、删除吗?我在接口里没有找到。 