Alright, I've been pretty interested in natural language processing recently: however, I've used C until now for most of my work. I heard of NLTK, and I didn't know Python, but it seems quite easy to learn, and it's looking like a really powerful and interesting language. In particular, the NLTK module seems very, very adapted to what I need to do.
However, when using sample code for NLTK and pasting that into a file called test.py, I've noticed it takes a very, very long time to run !
I'm calling it from the shell like so:
time python ./test.py
And on a 2.4 GHz machine with 4 GBs of RAM, it takes 19.187 seconds !
Now, maybe this is absolutely normal, but I was under the impression that NTLK was extremely fast; I may have been mistaken, but is there anything obvious that I'm clearly doing wrong here?