Entries from 2013-04-24 to 1 day

Access to text corpus

Now start reading Chapter 2.1.1. [code language="python"] >>> nltk.corpus.gutenberg.fileids() ['austen-emma.txt', 'austen-persuasion.txt', 'austen-sense.txt', 'bible-kjv.txt', 'blake-poems.txt', 'bryant-stories.txt', 'burgess-busterbrown.t…

O'Reilly: Chapter 1 Exercise 23-29

23. >>>for w in [w for w in text6 if w.isupper()]: ...     print w ... .... ARTHUR GALAHAD KNIGHTS TIM ROBIN ARTHUR ROBIN GALAHAD ARTHUR ROBIN KNIGHTS ARTHUR TIM I KNIGHTS .... 24.At beginning, I thought the requirement…