Package Details: python-nltk-git 3.0a1.558.g47d0006-1

Package Base: python-nltk-git
Description: Software for natural language processing
Upstream URL: http://www.nltk.org/
Category: lib
Licenses: Apache
Submitter: thestinger
Maintainer: None
Last Packager: None
Votes: 9
First Submitted: 2012-02-12 15:10
Last Updated: 2014-01-27 17:12

Dependencies (1)

Required by (0)

Sources

Latest Comments

Comment by nosada

2013-04-03 10:30

I got the same problem of rhoit's fist comment.
But after installing python-distribute and python-setuptools_git(exists in AUR), I succeeded to build the package.
Maybe python-distribute and python-setuptools_git should be added to 'depends'(or 'makedepends'?) line in PKGBUILD.

Comment by rhoit

2013-03-05 14:24

I remove the nltk-data which was previously installed though it was causing the problem, but now even doesn't seem to download the data!
>> nltk.download()

Comment by rhoit

2013-03-05 14:18

some how magically worked but problem during pos_tag

File "./rule.py", line 41, in ruledetect
pos_t=nltk.pos_tag(token)
File "/usr/lib/python3.3/site-packages/nltk/tag/__init__.py", line 106, in pos_tag
tagger = load(_POS_TAGGER)
File "/usr/lib/python3.3/site-packages/nltk/data.py", line 630, in load
resource_val = pickle.load(opened_resource)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xcb in position 0: ordinal not in range(128)
make: *** [testing] Error 1

Comment by rhoit

2013-01-27 08:58

Having problem while building!

Traceback (most recent call last):
File "setup.py", line 23, in <module>
distribute_setup.use_setuptools()
File "/media/Dump/aur/python-nltk-git/src/nltk-build/distribute_setup.py", line 145, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "/media/Dump/aur/python-nltk-git/src/nltk-build/distribute_setup.py", line 125, in _do_download
_build_egg(egg, tarball, to_dir)
File "/media/Dump/aur/python-nltk-git/src/nltk-build/distribute_setup.py", line 116, in _build_egg
raise IOError('Could not build the egg.')
OSError: Could not build the egg.
==> ERROR: A failure occurred in build().
Aborting...

Comment by thestinger

2012-12-31 08:16

This now works again! There's a new branch (2and3) supporting both python2 and python3 with the same codebase, and at some point it will get merged to master.