nltk in 3.7.2 for win 10 64 bit

2019-03-20 Thread Türkcan Kurt
is there a way to install nltk in win 10 64 bit in python 3.7.2 ? -- Teşekkürler, iyi çalışmalar. ODTU - BİDB Lisanslı Yazılım Sorumlusu swb...@metu.edu.tr Tel: 210 3311 -- https://mail.python.org/mailman/listinfo/python-list

QOTW! (was: NLTK)

2018-08-08 Thread Cameron Simpson
On 08Aug2018 21:03, ma...@mail.com wrote: [...] It seems that I do not really need NLTK. split() will do me. [...] +1 QOTW Cheers, Cameron Simpson -- https://mail.python.org/mailman/listinfo/python-list

Re: NLTK

2018-08-08 Thread mausg
;>"tokens" and "tokens." to be treated as distinct words, just because one >>happened to fall at the end of a sentence and one didn't. > > Yes, but this is quite trivial compared to the problem > of parsing and interpreting a natural-language sentence. > Thanks all for the replies. It seems that I do not really need NLTK. split() will do me. Again Thanks -- m...@ireland.com Will Rant For Food -- https://mail.python.org/mailman/listinfo/python-list

Re: NLTK

2018-08-06 Thread Steven D'Aprano
uot; "n't" "they'll" --> "they" "'ll" Punctuation marks should either be stripped out of sentences before splitting into words, or treated as distinct tokens. We don't want "tokens" and "tokens." to be treated as disti

Re: NLTK

2018-08-06 Thread Rhodri James
On 03/08/18 08:49, ma...@mail.com wrote: I like to analyse text. my method consisted of something like words=text.split(), which would split the text into space-seperated units. then I tried to use the Python NLTK library, which had alot of features I wanted, but using `word-tokenize' gi

NLTK

2018-08-06 Thread mausg
I like to analyse text. my method consisted of something like words=text.split(), which would split the text into space-seperated units. then I tried to use the Python NLTK library, which had alot of features I wanted, but using `word-tokenize' gives a different answer.- What gives?.

Re: nltk related issue

2018-06-25 Thread Glenn Hutchings
To: Sharan Basappa From: Glenn Hutchings On 21/06/18 04:40, Sharan Basappa wrote: > Folks, > > I am trying to run a simple example associated with nltk. > I get some error and I don't know what the issue is. > I need some guidance please. >

Re: nltk related issue

2018-06-24 Thread Glenn Hutchings
On 21/06/18 04:40, Sharan Basappa wrote: > Folks, > > I am trying to run a simple example associated with nltk. > I get some error and I don't know what the issue is. > I need some guidance please. >

nltk related issue

2018-06-20 Thread Sharan Basappa
Folks, I am trying to run a simple example associated with nltk. I get some error and I don't know what the issue is. I need some guidance please. I am using python canopy distribution The following is the code: inputstring = ' This is an example sent. The sentence splitter will spli

Re: Help in Nltk

2013-08-25 Thread projectfack
im a beginner so im trying to code using python ,Here system is just the program ,as the program can be done in any language i chose to do in nltk lib in python -- http://mail.python.org/mailman/listinfo/python-list

Re: Help in Nltk

2013-08-25 Thread Joel Goldstick
On Sat, Aug 24, 2013 at 5:41 PM, wrote: > > Can anyone help me for the tasks below in nltk > > > 1. The system mustdemonstrate false positiveand false > negativeexamples > using any stemmer (Task 1.1) > 2. The system mus

Help in Nltk

2013-08-24 Thread projectfack
Can anyone help me for the tasks below in nltk 1. The system mustdemonstrate false positiveand false negativeexamples using any stemmer (Task 1.1) 2. The system mustdemonstrate the differences between successive layers

Re: Error in Python NLTK

2013-04-07 Thread Steven D'Aprano
On Sun, 07 Apr 2013 15:11:36 -0700, subhabangalore wrote: [snip 200+ lines of irrelevant quoted text] > Dear Sir, > I was trying to give wrong input. I was making an input error. Please, use the delete key to remove unnecessary text from your messages. We shouldn't have to scroll past THREE AND

Re: Error in Python NLTK

2013-04-07 Thread subhabangalore
On Monday, April 8, 2013 1:50:38 AM UTC+5:30, subhaba...@gmail.com wrote: > On Sunday, April 7, 2013 2:14:41 AM UTC+5:30, Dave Angel wrote: > > > On 04/06/2013 03:56 PM, subhabangal...@gmail.com wrote: > > > > > > > Dear Group, > > > > > >

Re: Error in Python NLTK

2013-04-07 Thread subhabangalore
On Sunday, April 7, 2013 2:14:41 AM UTC+5:30, Dave Angel wrote: > On 04/06/2013 03:56 PM, subhabangal...@gmail.com wrote: > > > Dear Group, > > > > > > I was using a package named NLTK in Python. > > > > > > I was trying to write a

Re: Error in Python NLTK

2013-04-06 Thread subhabangalore
On Sunday, April 7, 2013 2:14:41 AM UTC+5:30, Dave Angel wrote: > On 04/06/2013 03:56 PM, subhabangal...@gmail.com wrote: > > > Dear Group, > > > > > > I was using a package named NLTK in Python. > > > > > > I was trying to write a

Re: Error in Python NLTK

2013-04-06 Thread Dave Angel
On 04/06/2013 03:56 PM, subhabangal...@gmail.com wrote: Dear Group, I was using a package named NLTK in Python. I was trying to write a code given in section 3.8 of http://docs.huihoo.com/nltk/0.9.5/guides/tag.html. Here, in the >>> test = ['up', 'down', 'up

Error in Python NLTK

2013-04-06 Thread subhabangalore
Dear Group, I was using a package named NLTK in Python. I was trying to write a code given in section 3.8 of http://docs.huihoo.com/nltk/0.9.5/guides/tag.html. Here, in the >>> test = ['up', 'down', 'up'] if I put more than 3 values and try

Re: HMM based Chunker NLTK

2012-09-18 Thread subhabangalore
On Wednesday, September 19, 2012 12:40:00 AM UTC+5:30, Mark Lawrence wrote: > On 18/09/2012 19:35, subhabangal...@gmail.com wrote: > > > Dear Group, > > > If anyone of the learned members can kindly help with a HMM/CRF based > > chunker on NLTK. > > &g

Re: HMM based Chunker NLTK

2012-09-18 Thread Mark Lawrence
On 18/09/2012 19:35, subhabangal...@gmail.com wrote: Dear Group, If anyone of the learned members can kindly help with a HMM/CRF based chunker on NLTK. Regards, Subhabrata. Certainly but how do you intend paying us? :) An alternative approach is to provide us with an idea of what you&#x

wordnet NLTK Re: AttributeError: 'list' object has no attribute 'lower'

2012-09-08 Thread Token Type
rage_polysemy('n') > > > > Traceback (most recent call last): > > File "", line 1, in > > average_polysemy('n') > > File "", line 6, in average_polysemy > > sense_number_new = len(wn.synsets(lemma, pos)) > > File "

Re: Using Raw Data in NLTK

2012-09-07 Thread Terry Reedy
On 9/7/2012 3:02 PM, subhabangal...@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

Using Raw Data in NLTK

2012-09-07 Thread 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

Re: The method of insert doesn't work with nltk texts: AttributeError: 'ConcatenatedCorpusView' object has no attribute 'insert'

2012-09-02 Thread Peter Otten
Token Type wrote: > I wrote codes to add 'like' at the end of every 3 word in a nltk text as follows: > > >>> text = nltk.corpus.brown.words(categories = 'news') > >>> def hedge(text): > for i in range(3,len(text),4): >

Re: Fwd: The method of insert doesn't work with nltk texts: AttributeError: 'ConcatenatedCorpusView' object has no attribute 'insert'

2012-09-02 Thread Dave Angel
text.insert(3,'like') >>>> text > ['The', 'Fulton', 'County', 'like', 'Grand'] > 2) I tested the text from nltk. It is list actually. See the following: >>>> text = nltk.corpus.brown.words(categories = '

Fwd: The method of insert doesn't work with nltk texts: AttributeError: 'ConcatenatedCorpusView' object has no attribute 'insert'

2012-09-02 Thread John H. Li
First, thanks very much for your kind help. 1)Further more, I test the function of insert. It did work as follows: >>> text = ['The', 'Fulton', 'County', 'Grand'] >>> text.insert(3,'like') >>> text ['The'

Re: The method of insert doesn't work with nltk texts: AttributeError: 'ConcatenatedCorpusView' object has no attribute 'insert'

2012-09-02 Thread Dave Angel
On 09/02/2012 05:39 AM, Token Type wrote: > I wrote codes to add 'like' at the end of every 3 word in a nltk text as > follows: > >>>> text = nltk.corpus.brown.words(categories = 'news') >>>> def hedge(text): > for i in range(3,len(t

The method of insert doesn't work with nltk texts: AttributeError: 'ConcatenatedCorpusView' object has no attribute 'insert'

2012-09-02 Thread Token Type
I wrote codes to add 'like' at the end of every 3 word in a nltk text as follows: >>> text = nltk.corpus.brown.words(categories = 'news') >>> def hedge(text): for i in range(3,len(text),4): new_text = text.insert(i, 'like

NLTK and package structure

2011-10-27 Thread Steven Bird
The Natural Language Toolkit (NLTK) is a suite of open source Python packages for natural language processing, available at http://nltk.org/, together with an O'Reilly book which is available online for free. Development is now hosted at http://github.com/nltk -- get it here: g...@github.com

Re: installing NLTK

2011-06-17 Thread Nige Danton
Hans Mulder wrote: should make you a member of the "admin" group. All sorted now - thanks for your help. -- Nige Danton - Replace the obvious with g.m.a.i.l -- http://mail.python.org/mailman/listinfo/python-list

Re: installing NLTK

2011-06-17 Thread Benjamin Kaplan
On Fri, Jun 17, 2011 at 1:57 PM, Nige Danton wrote: > Hans Mulder wrote: >> On 17/06/11 21:58:53, Nige Danton wrote: >>> Mac OSX python 2.6.1: I'm trying to install the natural language toolkit >>> and following the instructions here www.NLTK.org/download I've downloaded >>> the PyYAML package an

Re: installing NLTK

2011-06-17 Thread Hans Mulder
On 17/06/11 22:57:41, Nige Danton wrote: Hans Mulder wrote: On 17/06/11 21:58:53, Nige Danton wrote: Mac OSX python 2.6.1: I'm trying to install the natural language toolkit and following the instructions here www.NLTK.org/download I've downloaded the PyYAML package and in a terminal window tr

Re: installing NLTK

2011-06-17 Thread Nige Danton
Hans Mulder wrote: > On 17/06/11 21:58:53, Nige Danton wrote: >> Mac OSX python 2.6.1: I'm trying to install the natural language toolkit >> and following the instructions here www.NLTK.org/download I've downloaded >> the PyYAML package and in a terminal window tried to install it. However > You'

Re: installing NLTK

2011-06-17 Thread Hans Mulder
On 17/06/11 21:58:53, Nige Danton wrote: Mac OSX python 2.6.1: I'm trying to install the natural language toolkit and following the instructions here www.NLTK.org/download I've downloaded the PyYAML package and in a terminal window tried to install it. However terminal asks for my password - I've

installing NLTK

2011-06-17 Thread Nige Danton
Mac OSX python 2.6.1: I'm trying to install the natural language toolkit and following the instructions here www.NLTK.org/download I've downloaded the PyYAML package and in a terminal window tried to install it. However terminal asks for my password - I've tried both my user password and admin pass

How to parse a sentence using grammars provided by nltk?

2010-08-12 Thread Sohail
Hi, When I define my own production rules for the grammar the code below runs fine. Can anyone tell me how to use the built in grammars of nltk (if there are any)? >>> groucho_grammar = nltk.parse_cfg(""" ... S -> NP VP ... PP -> P NP ... NP -> Det N | Det

Re: Nltk with python

2009-08-16 Thread Aahz
In article <82c9f923-1098-4b7e-8f9d-9504c1a89...@12g2000pri.googlegroups.com>, ArshaKrishna wrote: > >How can I resolve scope ambiguity using nltk toolkit with python Question not clear, please provide more explanation -- Aahz (a...@pythoncraft.com) <

Nltk with python

2009-08-10 Thread ArshaKrishna
How can I resolve scope ambiguity using nltk toolkit with python -- http://mail.python.org/mailman/listinfo/python-list

Re: Using NLTK in Java

2008-09-02 Thread bearophileHUGS
On Sep 1, 12:30 pm, [EMAIL PROTECTED]: >in Jython (which is assumed to replace Python), I don't think so. Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list

Re: Using NLTK in Java

2008-09-02 Thread hussainsaiger
dule (that contains the use of > >> > NLTK.Corpus) by jythonc. It is not able to include nltk dependencies > >> > within the java class it creates. So when i use this class in java, it > >> > fails to recognize nltk. Can anyone please let me know how should i >

Re: Using NLTK in Java

2008-09-01 Thread Diez B. Roggisch
[EMAIL PROTECTED] wrote: > On 1 Sep, 11:55, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: >> [EMAIL PROTECTED] schrieb: >> >> > I am trying to convert a python module (that contains the use of >> > NLTK.Corpus) by jythonc. It is not able to includ

Re: Using NLTK in Java

2008-09-01 Thread hussainsaiger
On 1 Sep, 11:55, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] schrieb: > > > I am trying to convert a python module (that contains the use of > > NLTK.Corpus) by jythonc. It is not able to include nltk dependencies > > within the java cl

Re: Using NLTK in Java

2008-09-01 Thread Diez B. Roggisch
[EMAIL PROTECTED] schrieb: I am trying to convert a python module (that contains the use of NLTK.Corpus) by jythonc. It is not able to include nltk dependencies within the java class it creates. So when i use this class in java, it fails to recognize nltk. Can anyone please let me know how

Using NLTK in Java

2008-08-31 Thread hussainsaiger
I am trying to convert a python module (that contains the use of NLTK.Corpus) by jythonc. It is not able to include nltk dependencies within the java class it creates. So when i use this class in java, it fails to recognize nltk. Can anyone please let me know how should i use nltk in python/jython

Re: NLTK: Natural language processing in Python

2007-05-25 Thread tool69
NLTK seems very interesting, and the tutorial are very well done. Thanks for it ! Kib² -- http://mail.python.org/mailman/listinfo/python-list

NLTK: Natural language processing in Python

2007-05-25 Thread Steven Bird
NLTK — the Natural Language Toolkit — is a suite of open source Python modules, data sets and tutorials supporting research and development in natural language processing. It comes with 50k lines of code, 300Mb of datasets, and a 360 page book which teaches both Python and Natural Language

Re: NLTK, Random Sentence Generators?

2007-04-12 Thread Oleg Alexander
On Apr 12, 4:36 am, Passer By <[EMAIL PROTECTED]> wrote: > James Stroud <[EMAIL PROTECTED]> writes: > > Passer By wrote: > > > James Stroud <[EMAIL PROTECTED]> writes: > > > >>Passer By wrote: > > > >>>Has any created or not of examples of random sentence generators > > >>>using n-gram models (or o

Re: NLTK, Random Sentence Generators?

2007-04-12 Thread Passer By
James Stroud <[EMAIL PROTECTED]> writes: > Passer By wrote: > > James Stroud <[EMAIL PROTECTED]> writes: > > > >>Passer By wrote: > >> > >> > >>>Has any created or not of examples of random sentence generators > >>>using n-gram models (or other models might be interesting). I > >>>know of one exa

Re: NLTK, Random Sentence Generators?

2007-04-10 Thread James Stroud
Passer By wrote: > James Stroud <[EMAIL PROTECTED]> writes: > > >>Passer By wrote: >> >> >>>Has any created or not of examples of random sentence generators >>>using n-gram models (or other models might be interesting). I >>>know of one example from a course at MIT, but besides that >>>nothing.

Re: NLTK, Random Sentence Generators?

2007-04-10 Thread [EMAIL PROTECTED]
On Apr 10, 1:59 pm, Paulo da Silva <[EMAIL PROTECTED]> wrote: > gene tani escreveu: > > > On Apr 10, 1:36 am, Passer By <[EMAIL PROTECTED]> wrote: > >> Has any created or not of examples of random sentence generators using > >> n-gram models (or other models might be interesting). > > >> I know of

Re: NLTK, Random Sentence Generators?

2007-04-10 Thread Paulo da Silva
gene tani escreveu: > On Apr 10, 1:36 am, Passer By <[EMAIL PROTECTED]> wrote: >> Has any created or not of examples of random sentence generators using >> n-gram models (or other models might be interesting). >> >> I know of one example from a course at MIT, but besides that nothing. >> >> Any hel

Re: NLTK, Random Sentence Generators?

2007-04-10 Thread gene tani
On Apr 10, 1:36 am, Passer By <[EMAIL PROTECTED]> wrote: > Has any created or not of examples of random sentence generators using > n-gram models (or other models might be interesting). > > I know of one example from a course at MIT, but besides that nothing. > > Any help would be great. Markov ch

Re: NLTK, Random Sentence Generators?

2007-04-10 Thread Passer By
James Stroud <[EMAIL PROTECTED]> writes: > Passer By wrote: > > > Has any created or not of examples of random sentence generators > > using n-gram models (or other models might be interesting). I > > know of one example from a course at MIT, but besides that > > nothing. Any help would be great

Re: NLTK, Random Sentence Generators?

2007-04-10 Thread James Stroud
Passer By wrote: > Has any created or not of examples of random sentence generators using > n-gram models (or other models might be interesting). > > I know of one example from a course at MIT, but besides that nothing. > > Any help would be great. > > Best is to just cull text from your spam

NLTK, Random Sentence Generators?

2007-04-10 Thread Passer By
Has any created or not of examples of random sentence generators using n-gram models (or other models might be interesting). I know of one example from a course at MIT, but besides that nothing. Any help would be great. -- http://mail.python.org/mailman/listinfo/python-list

NLTK

2005-11-04 Thread Persi
Hi!   I´m beginning to use NLTK python libraries to make PLN (natural language processing). I have problems about how to do CFG (context free grammar) and about exactly what library I should use (ShiftReduce or ChartParser). I´d like to know if someone could help me.   thanks Correo Yahoo

if you please i want a help in running a nltk modules

2005-06-30 Thread enas khalil
if you please i want a help im a beginner in using python i want to know how can i run a GUI module i installed python on windows platform thanks [EMAIL PROTECTED] wrote: Send Python-list mailing list submissions topython-list@python.orgTo subscribe or unsubscribe via the World Wide Web, visitht

Re: error problems for import some copora with nltk

2004-12-23 Thread [EMAIL PROTECTED]
Dear Jeff, Thank you, it was the numeric. After I installed the numeric library which is Numeric-23.6.win32-py2.3.exe for python 2.3.4 verson, it is working correctly. Thank you again, Kyung -- http://mail.python.org/mailman/listinfo/python-list

Re: error problems for import some copora with nltk

2004-12-23 Thread Jeff Shannon
[...] import types, math, Numeric ImportError: No module named Numeric Numarray is not Numeric. You need to install Numeric, because NLTK doesn't use numarray. (As I understand it, numarray is intended as a replacement for Numeric, but modules/packages must be recoded to use it

Re: error problems for import some copora with nltk

2004-12-23 Thread [EMAIL PROTECTED]
st recent call last): File "", line 1, in -toplevel- from nltk.corpus import gutenberg File "C:\Python24\Lib\site-packages\nltk\corpus\__init__.py", line 134, in -toplevel- from nltk.tokenreader import * File "C:\Python24\Lib\site-packages\nltk\tokenreader\__init_

Re: error problems for import some copora with nltk

2004-12-22 Thread Fredrik Lundh
<[EMAIL PROTECTED]> wrote: > Thank you for answering this. I did exactly what you told me, but I got > following messages. > > Do you have any idea? > ImportError: No module named Numeric have you installed the Numeric library? see the NLTK download page f

Re: error problems for import some copora with nltk

2004-12-22 Thread Jeff Shannon
[EMAIL PROTECTED] wrote: Dear Tony.Meyer, Thank you for answering this. I did exactly what you told me, but I got following messages. Do you have any idea? = import nltk from nltk.corpus import gutenberg

Re: error problems for import some copora with nltk

2004-12-22 Thread [EMAIL PROTECTED]
Dear Tony.Meyer, Thank you for answering this. I did exactly what you told me, but I got following messages. Do you have any idea? = >>> import nltk >>> from nltk.corpus import gutenberg Traceback (mos

Re: error problems for import some copora with nltk

2004-12-21 Thread Fredrik Lundh
<[EMAIL PROTECTED]> wrote: >I did install the python 2.4 and nltk. > I am trying to follow the tutorial, but I kept getting error messages > about importing corpus as follows > > === >>>> from nltk.corpus import gut

RE: error problems for import some copora with nltk

2004-12-21 Thread Tony Meyer
;, line 1, in -toplevel- > from nltk.corpus import gutenberg > ImportError: cannot import name gutenberg > === > > I got the data files under c:\\python24\nltk\ Have you imported nltk before that line? Try this: Python 2.3.4 (#53, M

error problems for import some copora with nltk

2004-12-21 Thread [EMAIL PROTECTED]
I did install the python 2.4 and nltk. I am trying to follow the tutorial, but I kept getting error messages about importing corpus as follows === >>> from nltk.corpus import gutenberg Traceback (most recent call last): File "