D &243;&242; &243; &242; &236;&24(5)
5.5ParsingComplexity
Chart-parsingwithedgesthathaveattachedLC-graphsviolatesaveryimportantinvariantofcontext-freechart-parsing,namelythatanytwoedgescoveringthesamesubsequencecanbetreatedasequalsregard-lessofhowtheywerederived.Here,eitherthroughtwodifferentadjunc-tionsorthroughanadjunctionandabracketing,itispossibletoobtaintwoedgescoveringthesamesubsequencewithdifferentLC-graphs.Nomethodisknownfortreatingtheseedgesasequals,althoughseeSection7forfurtherdiscussionofthispoint.Thismeansthatbeforeaddinganewedge,wemustcheckforanexistingedgecoveringthesameintervalandcombinetheirLC-graphsintoaset.
A graph-theoretic construction for representing the derivational side-conditions in the construction of axiomatic linkages for Lambek proof nets is presented, along with a naive algorithm that applies it to the sequent derivability problem for the Lambek C
Whilethenumberofedgesthatcanbeaddedtothechartisstillqua-draticinthelengthofthesequenceofaxiomaticformulae(whichinturngrowswiththelengthofaninitialsequent),combiningtwoexistingedgesbyAdjunctioninvolvescombiningallpossiblepairsofLC-graphsintheirrespectivesets,withtheresultthatthesizeofthesesetsmaygrowexpo-nentiallyasafunctionoftheintervalcoveredbyanedge.Sothisalgorithmisnotpolynomial-timeintheworstcase.
5.6IncrementalEnforcementofIntegrityCriteria
Inspiteofitsexponentialworst-casecomplexity,thisalgorithmdoesper-mitsomedegreeofincrementalityintheenforcementoftheintegritycri-teriaforLC-graphs.
Amongthethreeintegritycriteria,I(2)standsoutbecauseitdemandsthataparticularkindofpath,namelyacycle,doesnotexist,whereasI(3)andI(CT)demandthataparticularkindofpathdoesexist.ThismakesI(2)easytoenforceincrementally.Beforeassertinganedge,wesimplydiscardthetheLC-graphswithcyclesfromitsset.IfnoLC-graphsremain,thentheedgeitselfcanbediscarded.
I(3)andI(CT)canbeenforcedincrementallytoalesserextentwithLC-graphs,althoughseeSectionforfurtherdiscussionofthispoint.Ifnoterminalplus-nodeispath-accessiblefromtheplus-daughterofalambda-node,andthatplus-daughterdoesyethavethepathsrequiredbyI(3)andI(CT),thenitwillneverhavethem,andtheLC-graphcanbediscarded.Iftherequiredpathsalreadyexist,thentheywillneverdisappear,sothisplus-daughterdoesnotneedtobecheckedagain.
I(1)cannotbecheckedincrementally,but:
Proposition5.1Ifaspanninglinkagesatis esI(2)andPN(1),thenitsat-is esI(1).
Proof.GivenPN(1),thereisonlyonenodewithin-degree0.Sincetherearenocycles,everynodemustbepath-accessiblefromthatnode.
PN(1)canbeenforcedattheoutsetbyensuringthatthesequenceofter-minalformulaehasonlyonepositiveformula.ThismeansthatprovidedwearecheckingI(2),wecanignoreI(1).
6RelatedParsingProblems
ItisimportanttorealisethatthesequentderivabilitydecisionproblemisonlyoneaspectofparsingwithLCGs.Thereareothersourcesofcomplex-ity,andotherrestrictionsthatcanbemade,whichcanaffectthecomplex-ityoftheoverallproblem.
A graph-theoretic construction for representing the derivational side-conditions in the construction of axiomatic linkages for Lambek proof nets is presented, along with a naive algorithm that applies it to the sequent derivability problem for the Lambek C
6.1FixingtheGrammar
Pentus[11]provedthatLCGsareweaklyequivalenttoCFGsbyshowinghowtoconstructanequivalentCFGfromanyLCG.Thesizeoftheresult-ingCFGisexponentiallylargerthantheoriginalLCGintheworstcase,sothisconstructioncannotbeusedtoestablishapolynomial-timebijectionbetweenthetwoclassesofparsingproblems.
Ontheotherhand,ifwe xaparticularLCG,,applyPentus’scon-structionoff-line,andthenask“Givenastringofwords,doesbelongto?,”thenthis xedLCGrecognitionproblemispolynomial-timebe-causeCFGrecognitioncanalsobeperformedinpolynomial-time.ThisisdescribedindetailbyFinkelandTellier[2].
6.2LexicalAmbiguity
Givenastringofwords,,andagrammar,(un xed),ifwewanttoknowwhetherbelongsto,wemust rst ndthecategoriesassociatedwitheachwordofbythelexiconofbeforeaskingthesequentderiv-abilityquestion.Itisoftenthecase,however,thatthereismorethanonecategoryassociatedwiththewordsof.Evenifthesequentderivabil-ityproblemshouldturnouttobesolvableinpolynomialtime,iterativelychoosingcategoriesandperformingasequentderivabilitycheckcouldleadtopossiblecategoryselectionsgivenastringofwords.Atpresent,nomethodisknownforsomehowcombiningmultiplelexicalcategoriesinthecourseofasingleproofsearch,althoughitislikelythatoneexists.
6.3Parsingvs.Recognition
Sequentderivability,justascontext-freechartparsing,asksayes-or-noquestion.InthecontextofCFGparsing,thisisknownasthestringrecog-nitionproblem.TrueCFGparsinginvolvesnotjustdeterminingwhetherastringisparseable,butprovidingtheparsetreesforthestringifitis.Intheworstcase,thistakesexponentialtime,becausealthoughaparsingchartcanbebuiltinpolynomialtime,unpackingthechartandenumer-atingeachtreecontainedinitcantakeexponentiallylong.
Theanalogueinthecaseofsequentderivabilityistoprovideanac-tualsemantictermforaderivationratherthanjust’yes’or’no.’Thistermistheoneobtainedaftervariablesubstitutionisperformedonthelabelannotatingtherightmost(positive)terminalformula.Justastherearein-herentlyambiguousstringsinsomeCFGs,therearealsosequentswithinherentlymorethanonesemanticreadingintheLambekCalculus.Infact,thenumberofreadingscangrowexponentiallyasafunctionofthelengthofthecandidatesequent.
De netobethefollowingfamilyofsequents,parametrisedby:
A graph-theoretic construction for representing the derivational side-conditions in the construction of axiomatic linkages for Lambek proof nets is presented, along with a naive algorithm that applies it to the sequent derivability problem for the Lambek C
Forexample,isthesequent:
Proposition6.1Forallnaturalnumbers,thesequentisderivableintheLambekCalculus,withsemanticreadingsgivenbystrings:
whereforall
Proof.Let,either(and),or(and).bethegraph:
and
bethegraph:
andlettailandtail.ItcanbeseenthatandinternallypossessthepathsrequiredbyI(3)andI(CT)fo …… 此处隐藏:5898字,全部文档内容请下载后查看。喜欢就下载吧 ……
相关推荐:
- [专业资料]《蜜蜂之家》教学反思
- [专业资料]过去分词作定语和表语1
- [专业资料]苏州工业园区住房公积金贷款申请表
- [专业资料]保安管理制度及处罚条例细则
- [专业资料]2018年中国工程咨询市场发展现状调研及
- [专业资料]2015年电大本科《学前教育科研方法》期
- [专业资料]数字信号处理实验 matlab版 离散傅里叶
- [专业资料]“十三五”重点项目-虎杖白藜芦醇及功
- [专业资料]2015-2020年中国竹木工艺市场需求及投
- [专业资料]国际贸易理论与实务作业五:理论案例分
- [专业资料]财政部修订发布事业单位会计制度
- [专业资料]BCA蛋白浓度测定试剂盒(增强型)
- [专业资料]工程进度总计划横道图模板(通用版)
- [专业资料]七年级地理同步练习(天气与气候)
- [专业资料]X光安检机介绍火灾自动报警系统的组成
- [专业资料]衢州市人民政府办公室关于印发衢州市区
- [专业资料]经济全球化及其影响[1]
- [专业资料]质粒DNA限制性酶切图谱分析
- [专业资料]国家安全人民防线工作“六项”制度
- [专业资料]劳动力投入计划及保证措施
- 电子账册联网监管培训手册
- 人教版语文七年级上第1课《在山的那边
- 对我区担保行业发展现状的思考与建议
- 平面四边形网格自动生成方法研究
- 2016年党课学习心得体会范文
- 如何设置电脑定时关机
- 全球最美人妖排行榜新鲜出炉
- 社会实践调查报告及问卷
- Visual Basic习题集
- 《鱼我所欲也》课件2
- 浙江省会计从业资格考试试卷
- 全遥控数字音量控制的D 类功率放大器资
- 鞍钢宪法与后福特主义
- 电表的改装与校准实验报告(1)
- 2014年高考理科数学真题解析分类汇编:
- Windows 7 AIK 的使用
- 风电场全场停电事故应急处置方案
- 化工原理选填题题库(下)
- 关于产学研合作教育模式的学习与思考
- 西安先锋公馆项目前期定位报告




