Using Raw Data in NLTK

S

subhabangalore

Dear Group,
I am trying to use NLTK and its statistical classifiers. The system is working fine but I am trying to use my own data, instead of things like,

from nltk.corpus import brown
from nltk.corpus import names

If any one can kindly guide me up.

Thanks in Advance,
Regards,
Subhabrata.
 
T

Terry Reedy

Dear Group,
I am trying to use NLTK and its statistical classifiers. The system is working fine but I am trying to use my own data, instead of things like,

from nltk.corpus import brown
from nltk.corpus import names

If any one can kindly guide me up.

from mypack import mydata

The important thing is that mydata have the proper format.
I would think that the nltk docs have instructions for and examples of
using personal data
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,008
Latest member
HaroldDark

Latest Threads

Top