Profile

xl8213449

这家伙很懒,什么也没写
资源:72 粉丝:0

xl8213449上传的资源

Python Natural Language Processing True PDF
This book starts off by laying the foundation for Natural Language Processing and why Python is one of the best options to build an NLP-based expert system with advantages such as Community support, availability of frameworks and so on. Later it gives you a better understanding of available free for
PDF
14.92MB
2020-08-21 15:33
Make Your Own Python Text Adventure
Table of ContentsChapter 1: Getting StartedChapter 2: Your First ProgramChapter 3: Listening to Your UsersChapter 4: DecisionsChapter 5: FunctionsChapter 6: ListsChapter 7: LoopsChapter 8: ObjectsChapter 9: ExceptionsChapter 10: IntermezzoChapter 11: Building Your WorldChapter 12: MakingMake Your Own Python Text AdventurePhillip johnsonNew york, usaISBN-13(pbk):978-1-4842-3230-9ISBN-13( electronic:978-1-4842-3231-6htos:// doi. org/10.1007/978-1-4842-3231-6Library of Congress Control Number: 2017960887Copyright o 2018 by Phillip JohnsonThis work is subject to copyright. All rights are reserved by the Publisher, whether the whole orpart of the material is concerned, specifically the rights of translation, reprinting, reuse ofillustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way,and transmission or information storage and retrieval, electronic adaptation, computer softwareor by similar or dissimilar methodology now known or hereafter developedTrademarked names, logos, and images may appear in this book. Rather than use a trademarksymbol with every occurrence of a trademarked name, logo, or image we use the names, logos,and images only in an editorial fashion and to the benefit of the trademark owner, with nointention of infringement of the trademarkThe use in this publication of trade names, trademarks, service marks, and similar terms, even ifthey are not identified as such, is not to be taken as an expression of opinion as to whether or notthey are subject to proprietary rightsWhile the advice and information in this book are believed to be true and accurate at the date ofpublication, neither the authors nor the editors nor the publisher can accept any legalresponsibility for any errors or omissions that may be made. The publisher makes no warranty,express or implied, with respect to the material contained hereinCover image designed by FreepikManaging Director: Welmoed SpahrEditorial director: Todd greenAcquisitions Editor: Todd greenDevelopment Editor: James MarkhamTechnical reviewer: Tri PhanCoordinating editor: Jill BalzanoCopy Editor: Kezia EndsleyCompositor: SPi GlobalIndexer: SPi globalArtist: SPi globalDistributed to the book trade worldwide by Springer Science+Business Media New York,233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax(201)348-4505e-mailorders-ny@springer-sbm.com,orvisitwww.springeronline.comApressMediaLlcisaCalifornia LLC and the sole member (owner) is Springer Science +Business Media Finance Inc(SSBM Finance Inc). SSBM Finance Inc is a Delaware corporationForinformationontranslations,pleasee-mailrights@apress.com,orvisithttp://www.apress.com/rights-permissionsApress titles may be purchased in bulk for academic, corporate, or promotional use e Bookversions and licenses are also available for most titles. For more information reference our printandebookBulkSaleswebpageathttp://www.apress.com/bulk-salesAny source code or other supplementary material referenced by the author in this book is availabletoreadersonGithubviathebooksproductpagelocatedatwww.apress.com/9781484232309Formoredetailedinformationpleasevisithttp://www.apress.com/source-code.Printed on acid-free paperTable of contentsAbout the author…uixAbout the technical reviewer■■■■■■Chapter 1: Getting Started mmm mmmmmmnrntroducti0n…1Who this book is forHow To use this bookSetting Up Your Workspace..... menemenPython Versions4Installing PythonVerify Your Installation .mamChapter 2: Your First Program■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■Creating a Module .nmenemnmnnnnnemennennnn 10Writing Code…,..,.10Running Python ProgramsHomework,……12Chapter 3: Listening to Your Users■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■13Your friends: stdout and stdinReading from Standard Input15Saving information15Data Types…,,,.Homework18TABLE OF CONTENTSChapter 4: Decisions nmmmmamImaI 19BooleansIf-statements2Boolean operations……24Homework,……26Chapter 5: Functionsg27Data n data outHomework32Chapter 6: Lists.■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■a■■33What is a list?…33Common List Operations……35Add35Length35Get36Search.……136Adding Lists to the Game38HomeworkChapter 7: Loops41Whille LoopsF0r- Each Loops…43L00 o Counters,,,.,.,.,.,.,.,.,.,.,,,Ranges.,...,....,,,45Using EnumerateNesting…,,,,,,,,,,The Game Loop……Homework…152TABLE OF CONTENTSChapter8:0 bjects,,,…,,,,,:,::,:,::::53Object Members53Defining Objects with ClassesUsing_ inito to Initialize objectsUsing__str 0 to Print Objects.mmmamammammmmammammmmmmnmn 57Adding Weapons to the Game mmmemennmemmmnnaamemnn.mn. 6(A Dash of object-Oriented Programming .Homework64Chapter 9: Exceptions mammmamaan65Validating User Input65Checking object Members.Raising Exceptions Intentionally.Homework70Chapter 10: Intermezzo■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■a■■■■■■■口■■Organizing Code Into Multiple FilesImporting from other Files.mmmnamamaanmemnnnmnnnmmn. 75Homework76Chapter11: Building Your World,,…,…,,,,…,;77TheX- Y Grid…,Moving in the World81Chapter 12: Making the World More Interesting ma85Enemies….85Do You have any potions.OrF000?.……93TABLE OF CONTENTSChapter 13: World-Building Part 2. amamamImIImII 99DictionariesCreating a Dictionary.Get100Add/Update....101Delete102L00p.……102Limiting Actions103Expanding the World.......nChapter 14: Econ 101■■■■■■■■ga115Share the wealth,115Giving the Trader a Home118Expanding the World122Chapter 15: Endgame■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■127Finishing UpWhat next?.mm. 129Add more features to the gameMake Your Job Easier with Python Scripts...........130Write a Web application mnmnnmenamnaeaanaeenanennn 130ppendix A: Homework Solutions■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■131Chapter2: Your First program…….,,,,,,,,…131Chapter 3: Listening to Your Users132Chapter 4: Decisions.m...............m.133Chapter 5: Functions134Chapter 6: Lists135TABLE OF CONTENTSChapter7:L0ops…........,,137Chapter 8: objects139Chapter9: Exceptions……143Appendix B: Common Errors.ammmmmmmmmammmmmamn 145Attribute error145Name error145TypeError…,,,,,,,,,,,146Index147About the authorPhillip johnson is a software developerbased out of columbus, ohio. he has workedon projects ranging from call center queuingto bioinformatics and has used a wide rangeof technologies, including Python, Java,Scala, and SQL. He blogs at Let's Talk Data(http://letstalkdata.comAbout the technical reviewerTri Phan is the founder of the ProgrammingLearning Channel on YouTube. He has over10 years of experience in the software industry.He has outsourced for many companies andcan write applications in many fields and inmany programming languages, including PHPJava, and C#. In addition, he has over 10 yearsof experience teaching at internationalprogramming training centers like Aptech,NIIT, and Kent College
PDF
1.71MB
2020-07-30 19:00
Data at Work
Information visualization is a language. Like any language, it can be used for multiple purposes. A poem, a novel, and an essay all share the same language, but each one has its own set of rules. The same is true with information visualization: a product manager, statistician, and graphic designer e
PDF
32.03MB
2020-07-16 06:56
An Introduction to Machine Learning2nd Edition
Thistextbookpresentsfundamentalmachinelearningconceptsinaneasytounderstandmannerbyprovidingpracticaladvice,usingstraightforwardexamples,andofferingengagingdiscussionsofrelevantapplications.ThemaintopicsincludeBayesianclassifiers,nearest-neighborclassifier
PDF
4.51MB
2020-06-02 03:32
Practical LXC and LXD Linux Containers for Virtualization and Orchestration
UseLinuxcontainersasanalternativevirtualizationtechniquetovirtualizeyouroperatingsystemenvironment.ThisbookwillcoverLXC’sunmatchedflexibilitywithvirtualizationandLXD’ssmoothuserexperience. PracticalLXCandLXDbeginsbyintroducingyoutoLinuxcontainers(LXCandL
PDF
3MB
2020-05-18 07:42
Get Programming with Go
TableofContents Unit0-GETTINGSTARTED Chapter1.GetReady,GetSet,Go Unit1-IMPERATIVEPROGRAMMING Chapter1.AGlorifiedCalculator Chapter2.LoopsAndBranches Chapter3.VariableScope Chapter4.Capstone:TicketToMars Unit2-TYPES Chapter1.RealNumbers Chapter2.WholeNum
PDF
10.21MB
2020-05-15 19:33
美埃维森统计学基本概念和方法
《统计学(基本概念和方法)》回避了纯数学式的描述,以风趣的语言、清晰直观和容易理解的实例阐述了统计学的基本概念和统计学在包括健康、婚姻、教育、体育、科学、经济活动等各方面扮演的重要角色,帮助学生克服了学习统计学的障碍(不强调公式,较难或较难理解的内容放在章末),使用计算机和统计软件使学生从烦琐的计算中解脱出来,让他们把精力集中在对统计过程和概念的理解上。每一道习题提供了统计结果中可能的主题,在书末给出了奇数号习题答案和各种统计表。   学生希望从统计课中学到什么呢?不是公式、技巧或推理,而是一些基本概念和
PDF
44.23MB
2020-05-13 00:48
Cassandra The Definitive Guide2nd Edition非early release
BookDescription: Imaginewhatyoucoulddoifscalabilitywasn’taproblem.Withthishands-onguide,you’lllearnhowtheCassandradatabasemanagementsystemhandleshundredsofterabytesofdatawhileremaininghighlyavailableacrossmultipledatacenters.Thisexpandedsecondedition—upd
PDF
8.39MB
2020-04-30 02:37
Concurrency in Go Tools and Techniques for Developers True PDF
Concurrencycanbenotoriouslydifficulttogetright,butfortunately,theGoprogramminglanguagewasdesignedwithconcurrencyinmind.Inthispracticalbook,you’lllearnhowGowaswrittentohelpintroduceandmastertheseconcepts,aswellashowtousebasicconcurrencypatternstoformlarges
PDF
4.3MB
2019-09-30 03:48
Learn Computer Science with Swift
BookDescription:Masterthebasicsofsolvinglogicpuzzles,andcreatingalgorithmsusingSwiftonAppleplatforms.Thisbookisbasedonthecurriculumcurrentlybeingusedincommoncomputerclasses.You’lllearntoautomatealgorithmicprocessesthatscaleusingSwiftinthecontextofiOS,macO
PDF
7.86MB
2019-09-25 16:16