Search Criteria
Package Details: python-textblob-git 0.15.3.r8.ge6cd979-1
Git Clone URL: | https://aur.archlinux.org/python-textblob-git.git (read-only, click to copy) |
---|---|
Package Base: | python-textblob-git |
Description: | library for processing textual data and provides an API for diving into commmon natural language processing (NLP) |
Upstream URL: | https://github.com/sloria/textblob |
Licenses: | |
Conflicts: | |
Provides: | |
Submitter: | jyantis |
Maintainer: | None |
Last Packager: | TrialnError |
Votes: | 2 |
Popularity: | 0.000000 |
First Submitted: | 2014-10-15 23:10 |
Last Updated: | 2020-01-15 21:09 |
Dependencies (6)
- nltk-data
- python (python-dbg)
- python-nltk
- git (git-git) (make)
- python-setuptools (make)
- python-textblob-aptagger-git (optional) – A fast and accurte part-of-speech tagger for TextBlob
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.