Presentation is loading. Please wait.

Presentation is loading. Please wait.

英文句子的语义分析 读书报告 & 初步结果 刘庆霞 20170309.

Similar presentations


Presentation on theme: "英文句子的语义分析 读书报告 & 初步结果 刘庆霞 20170309."— Presentation transcript:

1 英文句子的语义分析 读书报告 & 初步结果 刘庆霞

2 语义分析 语义分析 产生意义表示,并将其指派给输入语句的过程 句法驱动的语义分析 组合性原则 一个句子的意义可以由它的几个部分的意义组合而成

3 意义表示 (Meaning Representation)
The meaning of linguistic utterances can be captured in formal structures, which we will call meaning representations. 意义表示的计算要求 Verifiability Unambiguous one representation -> one meaning Canonical Form one meaning -> one representation Inference and Variables Expresiveness

4 意义表示 (Meaning Representation)
一阶谓词演算(FOPC) 项(term) 常量(constant) 连接词(connective) 量词(quantifier) 变量(variable) 谓词(Predicate) 函数(function) Stanford: DCS; Edingburg:CCG Texas Unv. at Austin: lambda calculus (德克萨斯大学奥斯汀分校)

5 句法驱动的语义分析 为上下文无关语法规则 扩充 语义附着(semantic attachment)
S -> NP VP {VP.sem(NP.sem)} VP -> Verb NP {Verb.sem(NP.sem)} Verb -> serves {λx∃e, y Isa(e, Serving) ∧Server(e,y) ∧Served(e,x)}

6 英语片段的语义 名词短语 形容词短语 动词短语 介词短语 复合名词、所属名词短语 名词前形容词、谓语性形容词 不定式动词短语
Who told Harry to go to Maharani. 介词短语 修饰名词、修饰动词短语、作为动词论元

7 名词短语 复合名词 Summer light schedule 所属名词短语 Atlanta’s airport 含明前形容词的NP
I don’t mind a cheap restaurant 交集语义 λx Isa(x, Restaurant) ∧ Isa (x, Cheap) small elephant,fake gun 仅指出存在抽象关系 λx Isa(x, Restaurant) ∧ AM (x, Cheap)

8 介词短语 修饰名词 修饰动词 作为动词的论元 a restaurant on Pearl
∃x Isa(x, Resuaurant) ∧On(x, Pearl) 修饰动词 ate dinner in a hurry ∃y Isa(e, Eating) ∧Eater(e, y) ∧Eaten(e, Dinner) ∧In(e, < ∃h Hurry(h)>) 作为动词的论元 I need to go from Boston to Dallas. 问句中,修饰动词的情况比较少见; <>复杂项:因为FOPC(一阶谓词演算)不允许将函数作为论元; from Boston=Boston 名词短语的语义直接复制给介词短短语,然后由动词短语将该意义表示指派到恰当的角色

9 句法驱动的语义分析 缺点 视野有限 上下文独立 推理无关

10 Pattern-based Semantic Analysis
Train sentence -> pattern What is the revenue of IBM? what be the X of E ? assing semantic representation to frequent patterns (?what, the X of, E) generate semantic representation for unfreq patterns what be the X of X , X ? What is the total population of Melbourne, Florida? what be the X of the X of X ? What is the official website of Tom Hanks? what be the X of the X where X 's X V ? What is the name of the school where Obama's wife studied? Test pattern match and alignment generate semantic representation (pattern, semantic) What is the name of the school where Obama's wife studied?

11 Step1: Pattern Generation
Item Types E : named entities V : normal verbs (e.g. VBX) X : meaningful words (e.g. NN, PRP, CD, JJ, RB) Struct: other words except for E,V,X (e.g., WHX, IN, TO, CC) what, for, in, and, or frequent words many, there, have, be, do

12 Frequent Patterns Free917 458 patterns Pattern num sentence who V E 42
who designed the iphone what be the X of E 40 what are the deities of hinduism how many X do E have 19 how many floors does the white house have when be E V 18 when was wells fargo founded when be E X 17 when was the airspeed oxford first flown what be E 's X 15 what are bmw's manufacturing plants what X do E X 14 what conferences does google sponsor when be X V when was savealot founded what X do E V 12 what lines does the london overground operate where be E X 11 where was jerry seinfeld born how many X V in E 10 how many teams participate in the uefa

13 Frequent Patterns QALD679 441 patterns Pattern num sentence
give I all X . 17 Give me all school types. who be the X of E ? Who is the author of WikiLeaks? what be the X of E ? 14 What is the revenue of IBM? which X have the X ? 9 Which country has the most official languages? who V E ? Who created Goofy? who be the X of X ? 8 Who was the wife of President Lincoln? who V X ? Who created English Wikipedia? which X have X than X ? Which caves have more than 3 entrances? how many X do E have ? How many employees does IBM have? what be the X of X ? 7 What is the official website of Tom Hanks?

14 Complex Patterns who be X under the X who V the X of X against X during X ? Who was vice president under the president who approved the use of atomic weapons against Japan during World War II? what X V [X and X for X V X from X] what movies won ascap film and television music awards for most performed songs from motion pictures mothion pictures 电影 complex NP: most performed songs from motion pictures(最佳电影歌曲奖)

15 Next Syntactic Structure Semantic Annotation 归纳,不能确保具有相同的语义;
需要语义标注信息,总结相似转换模式的句子;

16 Thank you


Download ppt "英文句子的语义分析 读书报告 & 初步结果 刘庆霞 20170309."

Similar presentations


Ads by Google

玻璃钢生产厂家玻璃钢雕塑制作工艺及流程深圳玻璃钢花盆售价景观小品玻璃钢环境艺术雕塑园林玻璃钢花盆价格温州常见玻璃钢花盆玻璃钢孔子雕塑工艺品玻璃钢室外不锈钢雕塑制造品质玻璃钢人物雕塑生产郑州佛像玻璃钢雕塑定制宝山区玻璃钢雕塑厂甘南玻璃钢动物雕塑设计徐州商场春季美陈天津玻璃钢人物雕塑生产景观雕塑玻璃钢玻璃钢雕塑厂家宿迁开封标牌校园玻璃钢景观雕塑厂家江苏季节性商场美陈哪家好玻璃钢雕塑中式玻璃钢佛像雕塑造价山东玻璃钢雕塑去哪找北京玻璃钢人物雕塑批发安仁玻璃钢造型雕塑江苏特色商场美陈运城玻璃钢人物雕塑加工德州水景玻璃钢人物雕塑厂家上海特色玻璃钢雕塑生产厂家铜陵公园玻璃钢雕塑银川玻璃钢景观雕塑材料玻璃钢蔬菜雕塑制作厂家卡通玻璃钢雕塑图片大全大图香港通过《维护国家安全条例》两大学生合买彩票中奖一人不认账让美丽中国“从细节出发”19岁小伙救下5人后溺亡 多方发声单亲妈妈陷入热恋 14岁儿子报警汪小菲曝离婚始末遭遇山火的松茸之乡雅江山火三名扑火人员牺牲系谣言何赛飞追着代拍打萧美琴窜访捷克 外交部回应卫健委通报少年有偿捐血浆16次猝死手机成瘾是影响睡眠质量重要因素高校汽车撞人致3死16伤 司机系学生315晚会后胖东来又人满为患了小米汽车超级工厂正式揭幕中国拥有亿元资产的家庭达13.3万户周杰伦一审败诉网易男孩8年未见母亲被告知被遗忘许家印被限制高消费饲养员用铁锨驱打大熊猫被辞退男子被猫抓伤后确诊“猫抓病”特朗普无法缴纳4.54亿美元罚金倪萍分享减重40斤方法联合利华开始重组张家界的山上“长”满了韩国人?张立群任西安交通大学校长杨倩无缘巴黎奥运“重生之我在北大当嫡校长”黑马情侣提车了专访95后高颜值猪保姆考生莫言也上北大硕士复试名单了网友洛杉矶偶遇贾玲专家建议不必谈骨泥色变沉迷短剧的人就像掉进了杀猪盘奥巴马现身唐宁街 黑色着装引猜测七年后宇文玥被薅头发捞上岸事业单位女子向同事水杯投不明物质凯特王妃现身!外出购物视频曝光河南驻马店通报西平中学跳楼事件王树国卸任西安交大校长 师生送别恒大被罚41.75亿到底怎么缴男子被流浪猫绊倒 投喂者赔24万房客欠租失踪 房东直发愁西双版纳热带植物园回应蜉蝣大爆发钱人豪晒法院裁定实锤抄袭外国人感慨凌晨的中国很安全胖东来员工每周单休无小长假白宫:哈马斯三号人物被杀测试车高速逃费 小米:已补缴老人退休金被冒领16年 金额超20万

玻璃钢生产厂家 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化