On Tue, 23 Dec 2008 19:17:33 -0800 (PST) Ishan Puri <ballerz4i...@sbcglobal.net> wrote:
> Hello, > I am a beginner with Python but I understand a lot of > linguistics. I am a high school student. I needed help (from the > beginning) making a word frequency chart that I can use to chart out > the numerical frequencies of words. Usually I can understand the code > if it is annotated well, but I am not familiar with the functions and > so forth. It would be awesome if someone could make a program that > would chart frequencies for me. I have the corpora already. If the > program could have something like "Type filename:" when I run it that > would be fantastic. I have pylab as well, so the code could include > something that would make the chart when I type in the filename. That > would be great. Thank you. The Natural Language Toolkit is the place to look: http://www.nltk.org/ This is a *deep* resource for lexical analysis. You'll probably want to follow the examples in the book first and try them with your corpora as you go. Chris _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor