Package Details: python-textblob-git 0.9.1.r355.238aa50-2

Git Clone URL: https://aur.archlinux.org/python-textblob-git.git (read-only)
Package Base: python-textblob-git
Description: A Python 3 library for processing textual data. Provides an API for diving into commmon natural language processing (NLP) tasks such as part-of-speech tagging, noun phrase extraction, sentiment analysis, classification, translation, and more.
Upstream URL: https://github.com/sloria/textblob
Licenses: MIT
Conflicts: python-textblob
Provides: python-textblob
Submitter: jyantis
Maintainer: None
Last Packager: jyantis
Votes: 2
Popularity: 0.000000
First Submitted: 2014-10-15 23:10
Last Updated: 2015-06-11 16:07

Dependencies (8)

Sources (1)

Latest Comments

RubenKelevra commented on 2017-01-07 18:04

Does not build:

======================================================================
ERROR: test_translate_unicode_escape (tests.test_translate.TestTranslatorIntegration)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
File "/tmp/yaourt-tmp-ruben/aur-python-textblob-git/src/textblob/tests/test_translate.py", line 111, in test_translate_unicode_escape
translated = self.translator.translate(text, from_lang="en", to_lang="en")
File "/tmp/yaourt-tmp-ruben/aur-python-textblob-git/src/textblob/textblob/translate.py", line 52, in translate
response = self._request(self.url, host=host, type_=type_, data=data)
File "/tmp/yaourt-tmp-ruben/aur-python-textblob-git/src/textblob/textblob/translate.py", line 92, in _request
resp = request.urlopen(req)
File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.5/urllib/request.py", line 472, in open
response = meth(req, response)
File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.5/urllib/request.py", line 504, in error
result = self._call_chain(*args)
File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/usr/lib/python3.5/urllib/request.py", line 696, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python3.5/urllib/request.py", line 472, in open
response = meth(req, response)
File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.5/urllib/request.py", line 510, in error
return self._call_chain(*args)
File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 503: Service Unavailable

======================================================================
FAIL: test_tokenize_with_multiple_punctuation (tests.test_tokenizers.TestSentenceTokenizer)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/yaourt-tmp-ruben/aur-python-textblob-git/src/textblob/tests/test_tokenizers.py", line 64, in test_tokenize_with_multiple_punctuation
assert_equal(len(tokens), 2)
AssertionError: 3 != 2

======================================================================
FAIL: test_register (tests.test_formats.TestRegistry)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/yaourt-tmp-ruben/aur-python-textblob-git/src/textblob/tests/test_formats.py", line 116, in test_register
assert_false(CustomFormat in registry.values())
AssertionError: True is not false

======================================================================
FAIL: test_tokenize_with_multiple_punctuation (tests.test_tokenizers.TestSentenceTokenizer)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/yaourt-tmp-ruben/aur-python-textblob-git/src/textblob/tests/test_tokenizers.py", line 64, in test_tokenize_with_multiple_punctuation
assert_equal(len(tokens), 2)
AssertionError: 3 != 2

----------------------------------------------------------------------
Ran 438 tests in 107.500s

FAILED (failures=3, errors=15)
Test failed: <unittest.runner.TextTestResult run=438 errors=15 failures=3>
error: Test failed: <unittest.runner.TextTestResult run=438 errors=15 failures=3>
==> FEHLER: Ein Fehler geschah in check().
Breche ab...
==> FEHLER:Makepkg konnte python-textblob-git nicht erstellen.
==> Erstellen von python-textblob-git neu starten?[j/N]

bradst commented on 2016-05-14 04:26

It appears that python-textblob-aptagger-git (currently listed as an optional dependency) is now deprecated. From https://github.com/sloria/textblob-aptagger :

As of TextBlob 0.11.0, TextBlob uses NLTK's averaged perceptron tagger by default. This package is no longer necessary.