Presentation is loading. Please wait.

Presentation is loading. Please wait.

Adj + Noun到知识库中的Special Classes

Similar presentations


Presentation on theme: "Adj + Noun到知识库中的Special Classes"— Presentation transcript:

1 Adj + Noun到知识库中的Special Classes
王 远

2 Wikipedia文本中的 adj + noun 抽取
版本:2018/10 规模:15.9G 抽取Adj + NP(NP中只包含有noun) 过滤掉 adj 为数字类型的序数词 过滤掉adj/noun包含了特殊字符的情况 adj + noun : 13,309,280; adj : 834,028; noun : 2,436,532 过滤比较级和最高级 adj + noun : 12,819,292; adj : 831,202; noun : 2,361,237 过滤掉adj + nouns (noun的个数 > 1)的情况 adj + noun : 8,095,419; adj : 747,043; noun : 396,040 过滤掉adj + noun 为实体或noun为专有名词

3 adj + noun 统计 adj + noun : 8,095,419

4 adj + noun 中 adj 的统计 adj : 747,043 first other new same second many
own many several same second

5 “WordNet 中 adj”有4,677个不在“adj + noun 中 adj”
adj + noun 中 adjs 的统计 adj : 747,043 WordNet 中 Adjs “Adj + Noun 中 Adjs” 与 “WordNet 中 Adjs” 的overlap Total 21,557 16,880 adj.all 17,777 13,785 adj.pert 4,379 3,055 adj.ppl 76 40 “WordNet 中 adj”有4,677个不在“adj + noun 中 adj” 22232 adj.all ∩ adj.pert : 663; adj.all ∩ adj.ppl : 12 4677

6 adj + noun 中 noun 的统计 noun : 396,040 school system version form people
style group state approach time year years life season school

7 adj + noun 中 noun 的统计 noun : 396,040 WordNet 中 Nouns
“Adj + Noun 中 Nouns” 与 “WordNet 中 Nouns” 的overlap Total 119188 35629 noun.person 18899 6703 noun.artifact 16381 6655 noun.act 9459 5274 noun.communication 8300 3882 noun.attribute 4802 3255 noun.state 5622 2726 noun.cognition 4429 2465 noun.animal 14324 2351 noun.substance 4639 1949 noun.plant 17809 1614 noun.group 3972 1381 noun.food 3595 1237 noun.location 4907 1194 noun.body 3572 1132 noun.event 1663 1064 noun.object 2303 867 noun.quantity 2031 844 noun.process 1127 665 noun.feeling 773 610 noun.possession 1520 563 noun.time 1689 532 noun.phenomenon 986 416 noun.shape 540 357 noun.relation 679 312 noun.Tops 83 63 noun.motive 78 41

8 noun WordNet overlap Adjs + [attribute] 698 656 Nouns + [attribute]
part_of_speech Synset (320) noun Synset1 part_of_speech adjective attribute (620) WordNet overlap Adjs + [attribute] 698 656 Nouns + [attribute] 606 502 656/698

9 THKS

10 背景 Adj + Noun 也是问句理解中重要的部分。比如,大部分的KBQA的问答系统(例如:gAnswer)都将”adjective + noun” 映射到”special classes” Adj + Noun –> special classes 的一般方法 通过计算lexical similarity between the “adj + noun” and the class name nuclear weapon yago:NuclearWeapons yago:NuclearWeapon lexical similarity 常用方法 编辑距离 Word2Vec SimHash Jaro Distance

11 Motivation 一般方法的问题 当 “adj + noun” 的字面与 class name 相差比较大时就会映射不上
例如:” atomic weapon” 就无法准确映射到 yago:NuclearWeapons 只依靠 lexical similarity 会导致映射错误 例如: public library yago:PublicLibraries 6个实体 yago:PublicLibrary 个实体 问句中上下文信息难以利用 Which Greek goddesses dwelt on Mount Olympus? Which European countries have a constitutional monarchy? Give me all American presidents in the last 20 years. Give me all chemical elements. 类在知识库中上下文信息 类与类之间的信息 实体与类之间的信息 利用Wikipedia将adj + noun与知识库中的实体/类关联起来 在线检索 + 统计学习 离线构建资源库

12 1.adj + noun 的识别和抽取(Wikipedia中的文本) 2) adj + noun 的候选classes生成
English engineer city yago:Engineer Class2 Class3 Class4 资源库构建策略 1.adj + noun 的识别和抽取(Wikipedia中的文本) 2) adj + noun 的候选classes生成 3) 候选classes的过滤和重排序 4) 资源库的扩充(利用WordNet和PPDB) 实验评估 候选classes的过滤和重排序中”分类器”的评估 资源库的评估 资源库中的 ”adj + noun” 在问答数据集中的覆盖率 资源库中的 ”adj + noun –> special classes ” 在问答数据集中的正确率

13 Wikipedia文本中的adj + noun 抽取
文本语料:4,641,892 Wikipedia articles 工具:Stanford NLP POS 过滤规则: 1.过滤掉adj为序数词的情况 2.过滤掉adj + 特定名词 3.过滤掉adj是比较级、最高级的形式 4.过滤掉adj + noun是实体的情况 5.过滤掉adj/noun包含了特殊字符的情况 6.过滤掉出现频率较低的adj + noun 7.没有考虑adj + noun + noun的情况 adjs:26,693 adj + noun:288,452 平均每个adj会修饰10.8个nouns

14 目的 获取adj可能修饰的nouns 将Adj + Noun映射到知识库(DBpedia)中的classes
yago:Engineer engineer Class2 Class3 English Class4 city Class5 Class6

15 Adj + noun 的抽取 语料源:Wikipedia

16 2. Adj + noun 的候选classes生成
yago:CausalAgent yago:Colleague yago:ComputerScientist yago:ComputerUser yago:Contestant yago:Engineer yago:MilitaryOfficer …… Type English engineer yago:Businessperson yago:Capitalist yago:CausalAgent yago:CivilAuthority yago:Donor yago:Engineer yago:Contestant …… Type

17 候选Class在Ontology Class体系中所处的层级
3. 候选classes的过滤和重排序 人工标注 + 分类 <English, engineer> 的候选class及其特征 Adj + Noun 与 class 共现次数 候选Class在Ontology Class体系中所处的层级 候选Class所处层级有几个class Noun 与 class 字面相似度 Noun 与 class 语义相似度 人工 标注 yago:CausalAgent 1 …… yago:Colleague yago:ComputerScientist yago:ComputerUser yago:Contestant yago:Engineer 2 3 10 0.81 0.92 yago:MilitaryOfficer owl:Thing

18 4. 资源库的扩充 WordNet 和 PPDB Class1 Noun1 Class2 Class3 Adj Class4
antonymy Noun2 Class5 Class6 Adj2

19 thks


Download ppt "Adj + Noun到知识库中的Special Classes"

Similar presentations


Ads by Google