分享
分销 收藏 举报 申诉 / 27
播放页_导航下方通栏广告

类型EnglishSyntax.ppt

  • 上传人:仙人****88
  • 文档编号:10786211
  • 上传时间:2025-06-14
  • 格式:PPT
  • 页数:27
  • 大小:276.50KB
  • 下载积分:10 金币
  • 播放页_非在线预览资源立即下载上方广告
    配套讲稿:

    如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。

    特殊限制:

    部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。

    关 键  词:
    EnglishSyntax
    资源描述:
    Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,*,*,*,English Syntax,Read J&M Chapter 9.,Two Kinds of Issues,Linguistic what are the facts about language?,The rules of syntax(grammar),Algorithmic what are effective computational procedures for dealing with those facts?,Building parsers,What is Syntax?,Try 1:the rules for stringing words together to form sentences.,The boys hit the ball.,vs.,Ball boys hit the the.,I gave Sue a ride to the store,vs.,I gave Sue ride to store.,I saw the book that Mary had written.,vs.,I saw the book what Mary had written.,But if thats all it were,we wouldnt have to do much for understanding assuming legal input.,What is Syntax?,Try 2:The rules for forming constituents that correspond to meaningful entities.,Example:,The cat with the furry tail purred.,Why Do We Care about Syntax?,Morphology,POS Tagging,Syntax,Semantics,Discourse Integration,Generation goes backwards.For this reason,we generally want declarative representations of the facts.,Sometimes We Need it Even if We Dont Go All the Way,Question answering:,Lawyers whose clients committed fraud,vs,Lawyers who committed fraud,vs,Clients whose lawyers committed fraud,Finding Constituents in Sentences,A,constituent,is a word or group of words that functions as a unit.,How can we discern constituents?,Semantically:,The cat with the furry tail purred.,What can be chopped out and replaced by a single word?,Agnes purred.,*Agnes tail purred.,Finding Constituents in Sentences,cont,Preposed,and,postposed,constructions:,Early next year Id like to go to Paris.,Id like to go to Paris early next year.,Id like early next year to go to Paris.,*Early Id like to go to Paris next year.,*Id like early to go to Paris next year.,*The early next year old man would like to go to Paris.,How Many Kinds of Constituents are There?,Although there may be an infinite number of possible constituent tokens,theres quite a small number of constituent types,e.g.,NP,PP,VP.,On what basis can we group tokens into types?Occurrence in similar contexts.,How Many Kinds of Constituents are There,cont,The cat with the furry tail purred.,Every dog wore a collar.,Most of the children in the room brought a dog with a furry tail and a collar.,The furry tail brought a room.,Every room purred.,A dog with a furry tail and a collar purred.,Mary saw most of the children in the room.,NPs occur as subjects,objects of verbs,and objects of prepositions.,Single Word Constituents,Single word constituents are exactly the parts of speech that we have already considered.,How many of these single word constituent types are there?Look at sizes of,tagsets,.,Lots of design decisions:,Sue bought the big white house.,*,Sue bought the white big house.,Are,big,and,white,the same POS?,Simple Constituent Types Dont Capture Everything,*,The cat with a furry tail purred a collar.,Mary imagined a cat with a furry tail.,Mary decided to go.,*,Mary decided a cat with a furry tail.,Mary decided a cat with a furry tail would be her next pet.,Mary gave Lucy the food.,*,Mary decided Lucy the food.,Subcategorization,Frame VerbExample,eat,sleep,I want to eat,NP prefer,find,leave,.,Find NP the flight from Pittsburgh to Boston,NP NP show,give,Show NP me NP airlines with flights from Pittsburgh,PP,from,PP,to,fly,travel,I would like to fly pp from Boston pp to Philadelphia,NP,PP,with,help,load,Can you help NP me pp with a flight,VP,to,prefer,want,need,I would prefer,VP,to,to go by United airlines,VP,brst,can,would,might,I can,VP,brst,go from Boston,S mean,Does this mean S AA has a hub in Boston?,The Role of the Lexicon in Parsing,Serves as the starting point for POS tagging.,Provides additional information such as,subcategorization,:,For verbs,For adjectives:,Im angry with Mary.Im angry at Mary.,Im mad at Mary.*Im mad with Mary.,For nouns:,Jane has a passion for old movies.,Jane has an interest in old movies.,One Other Barrier to a Small Number of Kinds of Constituents-Agreement,Number agreement:,The boys want to go to the game(s).,*The boy want to to to the game(s).,Case agreement:,I want to give it to him.,*Me want to give it to he.,In English its just pronouns,but not so in many other languages.,The Solution Augmenting the Constituent Types,To solve these and other problems,one strategy is to augment constituent types with other sorts of information:,V+pl+,NP NP,VP/NP/NP+pl,Show,VP/NP +pl,Show me,VP +pl,Show me the book.,Specifying a Language,The set of sentences in English is large(maybe even infinite).,We want a concise(i.e.,much shorter than a list of sentences)definition of it.,We have a finite(in fact quite small)set of constituent types(NP,VP,etc.)from which to build our description.,So we appeal to recursion and write grammar rules such as:,S,NP VP,VP V NP,NP NP PP,NP NP S (,The boy who went to the store won the game.,),PP prep NP,A Context-Free Grammar for English,If we ignore:,subcategorization,agreement,gapping,Then we can build a context-free grammar for English that does a pretty good job of:,generating all and only the acceptable sentences,and of,building reasonable parse trees for those sentences.,Well look at whether English is formally context free later.,Context-Free Grammars,A context-free grammar(CFG)is a 4-tuple:,A set of non-terminal symbols N,A set of terminals,(disjoint from N),A set of productions P,each of the form A ,where A is a non-terminal and is a string of symbols from the infinite set of strings(N)*,A designated start symbol S,In our grammar of English:,is the set of POS,and,N is the set of remaining constituent types,e.g.,NP,VP,PP,Derivations Using,CFGs,The standard formal definition:,L,G,generated by grammar G is the set of strings composed of terminal symbols which can be derived from the designated start symbol S.,L,G,=w|w is in,*and S w,But we wont generally want our grammar to have to all the way to words.We want to let the lexicon do that.Thats why we let be the set of POS.So the grammar may generate strings such as:,N V,Det,N,Derivations Using,CFGs,So we will use the following definition:,L,G,=s|w is in,*and S w and s can be derived from w by substituting words for POS as licensed by the lexicon,Note that this doesnt change the formal picture.We could instead augment our grammar with tens of thousands of rules of the form:N,phlogiston,This is a system design decision.,Context-Free Grammars and Parse Trees,S,VP,NP,Name,V,NP,Det,N,John,ate,the,pizza,S,NP VP,NP Name,NP,Det,N,VP V NP,(S(NP(NAME John),(VP(V ate),(NP (ART the),(N pizza),Long Distance Dependencies,Who did she say she saw _ coming down the hill?,She did say she saw who coming down the hill.,The boy she saw coming down the road was crying.,The boy she saw _ coming down the road was crying.,Long Distance Dependencies A Linguistic Solution,Transformational Grammar(Chomsky,1965):,A context free grammar generates base forms,A transformational component moves constituents around and may delete them from the surface form.,But how can we run these rules backwards?,This approach went out of fashion at least 20 years ago.,Long Distance Dependencies Computational Solutions,Augmented Transition Networks:All arbitrary actions on the arcs.These permit insertions and movements of constituents.,But any procedural solution wont be reversible for generation.,Unification systems:Declarative patterns for assigning constituents to fill,subcategorization,slots.,Spoken Language Syntax,Speech is collected in utterances rather than in text.,Spoken language is looser than written with more pauses,nonverbal events,disfluencies,such as,er,uh,um,.,Sample spoken language utterances from users interacting with ATIS,Spoken Language Syntax,The repair often has the same structure as the constituent immediately before the interruption point.,
    展开阅读全文
    提示  咨信网温馨提示:
    1、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
    2、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,个别因单元格分列造成显示页码不一将协商解决,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
    3、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
    4、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前可先查看【教您几个在下载文档中可以更好的避免被坑】。
    5、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
    6、文档遇到问题,请及时联系平台进行协调解决,联系【微信客服】、【QQ客服】,若有其他问题请点击或扫码反馈【服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【版权申诉】”,意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:0574-28810668;投诉电话:18658249818。

    开通VIP折扣优惠下载文档

    自信AI创作助手
    关于本文
    本文标题:EnglishSyntax.ppt
    链接地址:https://www.zixin.com.cn/doc/10786211.html
    页脚通栏广告

    Copyright ©2010-2025   All Rights Reserved  宁波自信网络信息技术有限公司 版权所有   |  客服电话:0574-28810668    微信客服:咨信网客服    投诉电话:18658249818   

    违法和不良信息举报邮箱:help@zixin.com.cn    文档合作和网站合作邮箱:fuwu@zixin.com.cn    意见反馈和侵权处理邮箱:1219186828@qq.com   | 证照中心

    12321jubao.png12321网络举报中心 电话:010-12321  jubao.png中国互联网举报中心 电话:12377   gongan.png浙公网安备33021202000488号  icp.png浙ICP备2021020529号-1 浙B2-20240490   


    关注我们 :微信公众号  抖音  微博  LOFTER               

    自信网络  |  ZixinNetwork