Issue 751 in nltk: text3.generate()

293 views
Skip to first unread message

nl...@googlecode.com

unread,
Jul 18, 2014, 10:15:35 PM7/18/14
to nltk-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 751 by sausti...@comcast.net: text3.generate()
http://code.google.com/p/nltk/issues/detail?id=751

What version of NLTK are you using?
3.0.0b1

What steps will reproduce the problem? (e.g. include Python source code)
Straight from the book: text3.generate() fails

What is the expected output? What do you see instead?
I get:
AttributeError: 'Text" object has no attribute 'generate'

Most other examples from the book work, but not this. Am I missing an
import? I've done:
import nltk
nltk.download() (I downloaded everything. )
from nltk.book import *

I'm on Python 2.7.6 (WinPython)
The texts are all loaded fine.

Thanks



--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

nl...@googlecode.com

unread,
Aug 2, 2014, 2:09:43 PM8/2/14
to nltk-...@googlegroups.com

Comment #1 on issue 751 by alisherb...@gmail.com: text3.generate()
http://code.google.com/p/nltk/issues/detail?id=751

Hi!

Have you been able to resolve the issue? Facing the same one..

nl...@googlecode.com

unread,
Aug 2, 2014, 5:25:09 PM8/2/14
to nltk-...@googlegroups.com

Comment #2 on issue 751 by sausti...@comcast.net: text3.generate()
http://code.google.com/p/nltk/issues/detail?id=751

Nope. I haven't heard a thing. I don't know if anyone really monitors these
things.

I decided to go learn some machine learning in Python in the meantime, and
come back to this later.

I'd really like to follow the NLTK book verbatim, but I'll probably have to
wait.
It's too bad - NLTK looks like fun. If YOU figure it out, please let me
know here.

Thanks, and good luck to you,
Steve

nl...@googlecode.com

unread,
Aug 5, 2014, 4:27:01 AM8/5/14
to nltk-...@googlegroups.com
Updates:
Cc: StevenBird1

Comment #3 on issue 751 by ewan....@gmail.com: text3.generate()
http://code.google.com/p/nltk/issues/detail?id=751

Hi,

The reason you haven't received a response is that we've moved the project
to GitHub some time ago. Please raise any issues using
https://github.com/nltk/nltk/issues. Alternatively, you can post any
queries to https://groups.google.com/forum/#!forum/nltk-users.

Regards,

Ewan
Reply all
Reply to author
Forward
0 new messages