Re: [Tutor] NLTK needs YAML?

2010-09-02 Thread kagebatsu
at the prompt (>>>) returns silently, your installation was successful. Feel free to email me if this doesn't work or you need more help. -Brandon -- View this message in context: http://old.nabble.com/-Tutor--NLTK-needs-YAML--tp28348409p296

Re: [Tutor] NLTK needs YAML?

2010-05-27 Thread kagebatsu
acPorts configuration time location, did you move it? It doesn't seem like you're having that issue, though. I am =/ Brandon ps. sorry this reply wasn't an answer. -- View this message in context: http://old.nabble.com/-Tutor--NLTK-needs-YAML--tp28348409p28689370.html Sent from

[Tutor] NLTK needs YAML?

2010-04-23 Thread Michael Scharf
Dear Friends, I'm new to the list, and new to Python. The last time I've tried anything like the below was 20 years ago on a NeXT machine, and I had no clue what I was doing then, either. I've gotten IDLE up and have done some hello worlding. I am now trying to get the NLTK working on my new iM

Re: [Tutor] NLTK

2009-08-29 Thread Kent Johnson
On Sat, Aug 29, 2009 at 2:08 PM, Ishan Puri wrote: > Hi, >     Yes! It works! I guess I am asking how did you know to use > wordlists.words('IM50re.txt')? Is this a specific command, as I believe it > was not in the book? It is taken directly from the example in the book: >>> wordlists.fileids() [

Re: [Tutor] NLTK

2009-08-29 Thread Ishan Puri
August 29, 2009 3:34:09 AM Subject: Re: [Tutor] NLTK On Fri, Aug 28, 2009 at 10:16 PM, Ishan Puri wrote: >>>> emma = nltk.corpus.gutenberg.words('austen-emma.txt') >>>> len(emma) > 192427 > > So this is the number of words in a particular 'austen

Re: [Tutor] NLTK

2009-08-29 Thread Kent Johnson
On Fri, Aug 28, 2009 at 10:16 PM, Ishan Puri wrote: emma = nltk.corpus.gutenberg.words('austen-emma.txt') len(emma) > 192427 > > So this is the number of words in a particular 'austen-emma.txt'. How would > I do this > with my IM50re.txt? It > seems the code "nltk.corpus.gutenberg.words

Re: [Tutor] NLTK

2009-08-28 Thread Ishan Puri
nk you. You are my own source of help right now; I have been trying to figure this out all day now. From: Kent Johnson To: Ishan Puri Cc: *tutor python Sent: Friday, August 28, 2009 7:03:15 PM Subject: Re: [Tutor] NLTK On Fri, Aug 28, 2009 at 7:29 PM, Ishan

Re: [Tutor] NLTK

2009-08-28 Thread Kent Johnson
On Fri, Aug 28, 2009 at 7:29 PM, Ishan Puri wrote: > Hi, from nltk.corpus import PlaintextCorpusReader corpus_root='C:\Users\Ishan\Documents' wordlists = PlaintextCorpusReader(corpus_root, 'IM50re.txt') wordlists.fileids() > ['IM50re.txt'] > > This is the result I get. That see

Re: [Tutor] NLTK

2009-08-28 Thread Ishan Puri
c: *tutor python Sent: Friday, August 28, 2009 4:24:19 PM Subject: Re: [Tutor] NLTK On Fri, Aug 28, 2009 at 6:09 PM, Ishan Puri wrote: > Hi, > Thanks for your response. I tried this and got to the 3rd line. However, > when I type in the fourth: > >>>> wordlists.fileids()

Re: [Tutor] NLTK

2009-08-28 Thread Kent Johnson
ied and what result you got. Please Reply All to reply to the list. Kent >         Thank you. > > > > > From: Kent Johnson > To: Ishan Puri > Cc: Python Tutor > Sent: Friday, August 28, 2009 4:49:40 AM > Subject: Re: [Tutor] NLTK >

Re: [Tutor] NLTK

2009-08-28 Thread Kent Johnson
On Fri, Aug 28, 2009 at 3:14 AM, Ishan Puri wrote: > Hello, >     I have successfully downloaded NLTK and the toy grammars. I want to run > a few of the packages that come with NLTK on corpora that I have. How do I > do this? What commands would I use? The corpora are text files; should I put > the

[Tutor] NLTK

2009-08-28 Thread Ishan Puri
Hello, I have successfully downloaded NLTK and the toy grammars. I want to run a few of the packages that come with NLTK on corpora that I have. How do I do this? What commands would I use? The corpora are text files; should I put them in the Python25 folder (is that the so called same direc

Re: [Tutor] [nltk-users] Can't transform a list of tokens into a text

2009-07-16 Thread Steven Bird
2009/7/16 Eduardo Vieira : > > Hello, I have a file that was a resulted from a POS-Tagging program, > after some transformations, I wanted to restore to it's normal form. > So, I used sed to remove the POS-Tags and have something like this: Please show us some output from the POS-Tagging program (

Re: [Tutor] NLTK

2009-01-15 Thread Senthil Kumaran
> Ishan Puri wrote: > Hi, > I have download NLTK for Python 2.5. It download automatically to > C:\Program Files\Python25\libs\site-packages\nltk. When I try to open a > module in python, it says that no such module exists. What do I need to do? There are ways to install the module in the si

[Tutor] NLTK

2009-01-14 Thread Ishan Puri
Hi, I have download NLTK for Python 2.5. It download automatically to C:\Program Files\Python25\libs\site-packages\nltk. When I try to open a module in python, it says that no such module exists. What do I need to do?___ Tutor maillist - Tutor@pyt