Using Raw Data in NLTK

Discussion in 'Python' started by subhabangalore@gmail.com, Sep 7, 2012.

  1. Guest

    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.
    , Sep 7, 2012
    #1
    1. Advertising

  2. Terry Reedy Guest

    On 9/7/2012 3:02 PM, wrote:
    > 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

    --
    Terry Jan Reedy
    Terry Reedy, Sep 7, 2012
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. j_pennington_moore

    newbie NLTK question

    j_pennington_moore, Jul 20, 2004, in forum: Python
    Replies:
    0
    Views:
    313
    j_pennington_moore
    Jul 20, 2004
  2. Replies:
    1
    Views:
    280
    Fredrik Lundh
    Dec 22, 2004
  3. Tony Meyer
    Replies:
    6
    Views:
    1,371
  4. Using NLTK in Java

    , Sep 1, 2008, in forum: Python
    Replies:
    5
    Views:
    1,546
  5. Sohail
    Replies:
    0
    Views:
    814
    Sohail
    Aug 12, 2010
Loading...

Share This Page