资源描述:
《Natural Language Processing with Python (1).pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、NaturalLanguageProcessingwithPythonNaturalLanguageProcessingwithPythonStevenBird,EwanKlein,andEdwardLoperBeijing•Cambridge•Farnham•Köln•Sebastopol•Taipei•TokyoNaturalLanguageProcessingwithPythonbyStevenBird,EwanKlein,andEdwardLoperCopyright©2009StevenBird,EwanKlein,andEdwardLoper.Allrightsreserv
2、ed.PrintedintheUnitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Reillybooksmaybepurchasedforeducational,business,orsalespromotionaluse.Onlineeditionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformation,contactourcor
3、porate/institutionalsalesdepartment:(800)998-9938orcorporate@oreilly.com.Editor:JulieSteeleIndexer:EllenTroutmanZaigProductionEditor:LoranahDimantCoverDesigner:KarenMontgomeryCopyeditor:Genevieved’EntremontInteriorDesigner:DavidFutatoProofreader:LoranahDimantIllustrator:RobertRomanoPrintingHisto
4、ry:June2009:FirstEdition.NutshellHandbook,theNutshellHandbooklogo,andtheO’ReillylogoareregisteredtrademarksofO’ReillyMedia,Inc.NaturalLanguageProcessingwithPython,theimageofarightwhale,andrelatedtradedressaretrademarksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistin
5、guishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthisbook,andO’ReillyMedia,Inc.wasawareofatrademarkclaim,thedesignationshavebeenprintedincapsorinitialcaps.Whileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorsassumenoresponsibilityforerrorsoromiss
6、ions,orfordamagesresultingfromtheuseoftheinformationcon-tainedherein.ISBN:978-0-596-51649-9[M]1244726609TableofContentsPreface.....................................................................ix1.LanguageProcessingandPython..........................................11.1ComputingwithLanguage:Te
7、xtsandWords11.2ACloserLookatPython:TextsasListsofWords101.3ComputingwithLanguage:SimpleStatistics161.4BacktoPython:MakingDecisionsandTakingControl221.5AutomaticNaturalLanguageUnderstanding271.6Summary331.7FurtherReading341.8