40 likes | 172 Views
NLTK (Natural Language Tool Kit) http://www.nltk.org/. Unix for Poets (without Unix). NLTK: Unix for Poets (without Unix) Unix Python. No need to buy the book Free online at http://www.nltk.org/book Homework #4 Read Chapter 1 http://nltk.googlecode.com/svn/trunk/doc/book/ch01.html
E N D
NLTK (Natural Language Tool Kit)http://www.nltk.org/ Unix for Poets (without Unix)
NLTK: Unix for Poets (without Unix)Unix Python • No need to buy the book • Free online at http://www.nltk.org/book • Homework #4 • Read Chapter 1 • http://nltk.googlecode.com/svn/trunk/doc/book/ch01.html • Start with exercise 22 and go as far as you can • Exercise 23: Solve however you like • (no need to use for and if)
Python def fact(x): if(x <= 1): return 1 else: return x * fact(x-1) • Exercise: Fibonacci in Python
Installing • Chapter 01: pp. 1 - 4 • Python • NLTK • Data