Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #28710

Re: Using Raw Data in NLTK

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Using Raw Data in NLTK
Date 2012-09-07 17:32 -0400
References <8279abb2-269e-4b4f-ab95-7f0b5cb5c62c@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.370.1347053569.27098.python-list@python.org> (permalink)

Show all headers | View raw


On 9/7/2012 3:02 PM, subhabangalore@gmail.com 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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Using Raw Data in NLTK subhabangalore@gmail.com - 2012-09-07 12:02 -0700
  Re: Using Raw Data in NLTK Terry Reedy <tjreedy@udel.edu> - 2012-09-07 17:32 -0400

csiph-web