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

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top