Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Printed | Page 1 . |
The Natural Language Toolkit has been updated for Python 3.0, and the online version of the book has been updated. Please install NLTK 3 and consult the updated book (http://www.nltk.org/book) and user discussion forum (https://groups.google.com/group/nltk-users/) before reporting errata. |
Anonymous | Oct 15, 2014 | |
Printed | Page 9 16 lines down |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 18 Axis label of plot |
The source "fdist1.plot(50,cumulative=True) gives a Y axis in counts and the label is "Cumulative Counts" rather than a Y axis in percentage and a label of "Cumulative Percentage". This using Python 2.6.2 and the nltk and plotting packages downloaded on 9/13/09. Note from the Author or Editor: |
Bob Doherty | Sep 14, 2009 | Jan 01, 2010 |
Printed | Page 18 Figure 1-4 |
Note from the Author or Editor: |
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Page 29 Generating Language Output 2nd paragraph |
"ils if the thieves are sold, and elle if the paintings are sold." Note from the Author or Editor: |
Maximilian Scherr | Jan 15, 2011 | ||
Page 29 Generating Language Output 2nd paragraph |
"ils if the thieves are sold, and elle if the paintings are sold." Note from the Author or Editor: |
Maximilian Scherr | Jan 15, 2011 | ||
46 first code block |
Argument tuple to nltk.ConditionalFreqDist should be Note from the Author or Editor: |
Andrew C Young | Jul 08, 2009 | ||
Printed | Page 46 Figure 2.1 |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed, PDF, , Other Digital Version | Page 83 n/a |
In the section on processing rss feeds, a line reads: |
Steven Bird |
Nov 17, 2010 | |
Printed, PDF, , Other Digital Version | Page 83 n/a |
In the section on processing rss feeds, a line reads: |
Steven Bird |
Nov 17, 2010 | |
Printed | Page 88 "Your turn" code example, bottom of page |
"for line in b: print b" should have been "for line in b: print line". Note from the Author or Editor: |
Robin Munn | Jul 08, 2009 | Jan 01, 2010 |
Page 92 Table 3-2 |
s.titlecase() A titlecased version of the string s Note from the Author or Editor: |
Anonymous | Jun 24, 2009 | Jan 01, 2010 | |
Printed | Page 113 . |
the pronunciation of the Chinese character 国 ("country") is given as *guo3*; it should actually be *guo2* Note from the Author or Editor: |
Anonymous | May 15, 2013 | |
Printed | Page 115 Immediately after Example 3-3 |
"The final step is to search for the pattern of zeros and ones that maximizes this objective function, shown in Example 3.10. " Note from the Author or Editor: |
Uzi Halaby-Senerman | Sep 02, 2009 | Jan 01, 2010 |
Printed | Page 132 9 lines up |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 144 16 lines up |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed, PDF | Page 152 line 17 |
[len(w) for w in nltk.corpus.brown.sents(categories='news'))] Note from the Author or Editor: |
Jun Utsumi | Apr 24, 2011 | |
Printed | Page 153 3 lines down |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 153 & 154 Bottom and top of 154 |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Page 163 Example 4-6 |
There is no need to use nltk.defaultdict in this example. Note from the Author or Editor: |
mg6t | Sep 01, 2011 | ||
Page 165 5th line |
>>> statement = "random.randint(0, %d) in vocab" % vocab_size * 2 Note from the Author or Editor: |
mg6t | Aug 28, 2011 | ||
Printed | Page 172 3 lines down |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Page 175 Exercise No. 19 |
The nltk.corpus.wordnet object does not have path_distance(). Note from the Author or Editor: |
mg6t | Sep 01, 2011 | ||
Printed | Page 177 Example 33 |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Page 207 center of the page |
The line Note from the Author or Editor: |
mg6t | Aug 29, 2011 | ||
Page 273 Example 2-6 |
In example 7.4, the last statement in the parse method calls the method nltk.chunk.conlltags2tree. In NLTK 2.0.4 nltk.chunk has no such method. The call should be to nltk.chunk.util.conlltags2tree. Note from the Author or Editor: |
Peter Haglich | Jan 09, 2013 | ||
Page 284 Code under 7.6 |
There is a method call to nltk.sem.show_raw_rtuple, which doesn't exist in NLTK 2.0.4. The call should be nltk.sem.relextract.show_raw_rtuple. Note from the Author or Editor: |
Peter Haglich | Jan 09, 2013 | ||
Printed | Page 306 17 lines up |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 309 9 lines up |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 309 13-14 lines up |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 334 10 lines down |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 336 Figure 9.1 |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 336 Figure 9-1 |
|
Anonymous | Dec 16, 2009 | Feb 01, 2010 |
Printed | Page 339 Diagram (23) |
Note from the Author or Editor: |
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 340 Example 24 |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 342 DAG (27a) |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 355 Code block |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 363 1st paragraph |
Within the code following the the sentence "This allows us to parse a query into SQL:", there is a line that assigns a value to the 'answer' variable: Note from the Author or Editor: |
Vance Arocho | Dec 01, 2009 | Jan 01, 2010 |
Printed | Page 363 21 lines down |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 373 Approx halfway down the page |
"... in this context it could be of some other type, such as <e, e> or <e, <e, t>.": Should be "... in this context it could be of some other type, such as <e, e> or <e, <e, t>>." (unbalanced angle brackets.) Note from the Author or Editor: |
Bruce C. Baker | Sep 19, 2009 | Jan 01, 2010 |
Printed | Page 373 19 lines down |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 382 Figure (28) |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 385 Bottom of page |
In the following two lines, the string "?subj" should be replaced with |
Steven Bird |
Oct 06, 2010 | Nov 01, 2010 |
Printed | Page 389 17 lines up |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 391 6 lines down |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 392 6 lines down |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 393 8 lines up |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 393 5 lines up |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 395 8 lines up from bottom |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 395 5-9 lines up |
The string "?subj" should be replaced with "?np" (three substitutions): |
Steven Bird |
Oct 06, 2010 | Nov 01, 2010 |
Printed | Page 396 20 lines up |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 399 4 lines down |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 400 20 lines down |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 405-406 Examples 5-7 |
|
Anonymous | Dec 16, 2009 | Dec 01, 2009 |
Printed | Page 426 top |
Currently reads: |
Bruce C. Baker | Sep 27, 2009 | Jan 01, 2010 |
Printed | Page 429 11-12 lines down |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 444 7 lines down |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |
Printed | Page 467 Toward bottom of left hand column |
|
Anonymous | Dec 16, 2009 | Jan 01, 2010 |