“The NLTK Book (free online): Natural Language Processing with Python”
Natural Language Processing with Python
用 NLTK 边写代码边学分词、标注、分类和语法分析,数学要求低
Steven Bird、Ewan Klein、Edward Loper 写的 NLTK 配套教材,用 Python 讲自然语言处理的基础:文本处理、词性标注、文本分类、信息抽取和句法分析等。全书以大量可运行的代码示例带着读者动手,每章有练习,数学负担很轻。和偏统计、偏深度学习的现代 NLP 教材相比,它更偏计算语言学和入门实践,内容有些年头,但概念框架仍然清晰。
十几年来 HN 上的人都把它当作 NLP 的第一站来推荐:免费在线、实践为主、数学少、概念讲得清楚,常用来回答分词、词性标注、实体抽取、文本分类这类问题;2023 年有人提到它可能有点过时。
想动手入门 NLP 的 Python 程序员
怎么读
由 Claude 根据这本书和 HN 上的说法整理,可能有错- 1先装好 NLTK,跟着前几章在笔记本里把代码都跑一遍
- 2想做机器学习相关任务,可直接跳到文本分类那一章
- 3做每章的练习,比只看示例收获大得多
- 4读完再配一本现代 NLP 教材,补上神经网络方法
HN 书评
推荐在前,同类按时间 · 每本最多保留 20 条,统计用全部提及 · 作者本人贴的不算“A great introduction to all this is the O'Reilly book Natural Language Processing with Python (free online[1]).”
“Perhaps add hyperlinks to further references, like the NLTK book?”
“NLTK and their computational linguistics book / python tutorial might be a good start.”
“The HTML version of the NLTK book is freely available (Jump to Chapter 6 for the ML part) [5].”
“the book associated with Python's Natural Language Toolkit has a pretty good introduction to identifying gender in the chapter on text classification [1].”
看全部 20 条 →
“The HTML version of the NLTK book is freely available (Jump to Chapter 6 for the ML part) [5].”
“If you want more background - the nltk book, in particular chapter five is a good place to start: Natural Language Processing with Python”
“something like nltk, which is excellent.”
“The NLTK book serves as a great resource for getting dirty with minimal math and more programming examples:”
“I found that the NLTK book was quite helpful: Natural Language Processing with Python”
“NLTK[0][1] (Natural Language Toolkit) was fantastic as an initial resource for me.”
“This book was really helpful for me when I was getting started with natural language processing: Natural Language Processing with Python”
“The best link is probably Natural Language Processing with Python which is an excellent place to get started.”
“Simplistic, but a good starting point for learning!”
“I'd recommend python and the NLTK package, which has a corresponding book [0] that will bring you up to speed on the major points without skimping on the conceptual details along the way.”
“NLTK tutorials are interesting for the absolute basics in Python, e.g. Natural Language Processing with Python.”
“is a great intro to NLP concepts and working with NLTK which maybe a bit dated to some but it would definitely recommend, and its online for free.”
“I'm thinking I might also work my way through a simple book on NLP.”
“"This book is made available under the terms of the Creative Commons Attribution Noncommercial”