nltk / nltk_book

NLTK Book
http://www.nltk.org/book
405 stars 142 forks source link

Chapter 7 Example 4.2 code error #233

Open YiweiJiang2015 opened 4 years ago

YiweiJiang2015 commented 4 years ago

line 13 should be updated to: t= nltk.Tree.fromstring('(S (NP Alice) (VP chased (NP the rabbit)))')