ltp
ltp copied to clipboard
Language Technology Platform
初始化报错

分词不准
您好,对这个句子进行分词时,结果并不理想:这是一种简答而有效的方法。 将“一种”,分成了“一”、“种”。 即便换成base模型,还是这个分词结果。请问怎么办
File "/ssd/worker/wyj/anaconda3/envs/tf15/lib/python3.7/site-packages/starlette/concurrency.py", line 40, in run_in_threadpool return await loop.run_in_executor(None, func, *args) File "/ssd/worker/wyj/anaconda3/envs/tf15/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/ssd/worker/dzf/py/cjbdiai/services/ltpserver.py", line 32, in nlp seg, hidden =...
请问一个词有多个角色如何标注? # srl 格式文件 百团大战 _ B-ARG0 O O O 的 _ I-ARG0 O O O 战略 _ I-ARG0 O O O 目的 _ I-ARG0 O O O 是 Y...
LTP() will download 'small': 'http://39.96.43.154/ltp/v3/small.tgz' default, but it's owner and group is error 
Hello and so happy to see you use Pytorch-Lightning! :tada: Just wondering if you already heard about quite the new **Pytorch Lightning (PL) ecosystem CI** where we would like to...
1、问题: 当传入自定义分词后的token list的hidden时,如果包含韩文字符,会导致sdp报错 RuntimeError: The expanded size of the tensor must match the existing size at non-singleton dimension 1. (感觉像是韩文token被直接忽略了) 2、配置: ltp==4.1.5,加载过base,small 2种模型,在case2中均会报错 - case1:sdp运行正常的实例 ```python tokens = ['ーオ', '叫',...
因为结果要返显到原文中,我想到用返回实体在分词结果中的位置去做定位,但是原文中有很多的空格,回车等符号,根据分词后的序号也无法进行还原。例如: 原文: 中共中央副主席 刘少奇在栾城县贾村视察 分词结果:[['中共中央', '副', '主席', '刘少奇', '在', '栾城县', '贾村', '视察']] 原文中的空格分词结果没有了,