baidu / baidu/DDParser

一个明显的依存解析错误,想问下有什么方法应用时规避?

Open
#62 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
999
Forks
156
PR merge metrics
No merged PRs in 30d

Description

raw:”找不到背景和滤镜“

DDParser:
```
text:找不到, pos:v, dep:HED, rel:0
text:背景, pos:n, dep:ATT, rel:4
text:和, pos:c, dep:MT, rel:4
text:滤镜, pos:n, dep:VOB, rel:1
```
"背景"和"滤镜"应该是并列关系CC。

spacy可以正确解析:
```
text:找, pos:VERB, dep:ROOT, head:找
text:不, pos:ADV, dep:dep, head:找
text:到, pos:VERB, dep:dep, head:找
text:背景, pos:NOUN, dep:conj, head:滤镜
text:和, pos:CCONJ, dep:cc, head:滤镜
text:滤镜, pos:NOUN, dep:dobj, head:找
```

明白解析效果要依据统计值,但上述句子看起来结构单一比较常见,不清楚为什么dep解析出问题,应用时有什么建议吗?
谢谢~

另一个问题,HED怎么确定的,发现动词和形容词同时存在,以形容词作为HED了

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue provides only DDParser and spaCy dependency outputs for “找不到背景和滤镜” and does not name a source file, test, or entry point. Start by reproducing this sentence with the parser and checking how HED and coordination labels are assigned. Done would require a confirmed explanation, workaround, or a narrowly scoped correction with a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.