Package: python-pattern / 2.6+git20180818-2

Metadata

Package Version Patches format
python-pattern 2.6+git20180818-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
upstream/d051a02772e54b08201044f4cc08105a718880a7.patch | (download)

.travis.yml | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] travis.yml is updated

precise is outdated, so switch to xenial is made

upstream/aaa6e7c041a07e091be9d77b68b4b408de8de86d.patch | (download)

.travis.yml | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 [patch] travis set to work on python 2.7

- also now all the tests are run on 3.5, 3.6, 3.7 and 2.7 versions of Python

upstream/50a36dbb5287d2b1a44325bf05a5196523d53def.patch | (download)

pattern/metrics.py | 6 3 + 3 - 0 !
pattern/text/__init__.py | 2 1 + 1 - 0 !
pattern/web/__init__.py | 4 2 + 2 - 0 !
3 files changed, 6 insertions(+), 6 deletions(-)

 [patch] pep 479

otherwise numerous tests are failing

upstream/5044ebc422822dc3eec518e8f36eab6565792fc0.patch | (download)

pattern/text/ru/wordlist/academic.txt | 579 579 + 0 - 0 !
pattern/text/ru/wordlist/profanity.txt | 1449 1449 + 0 - 0 !
pattern/text/ru/wordlist/time.txt | 361 361 + 0 - 0 !
3 files changed, 2389 insertions(+)

 [patch] russian wordlists are updated

information is taken from Wiktionary

upstream/be98723d57c617285c82d87e2aa82a5b4a938458.patch | (download)

.travis.yml | 2 1 + 1 - 0 !
setup.py | 1 0 + 1 - 0 !
2 files changed, 1 insertion(+), 2 deletions(-)

 [patch] mysqlclient removed from the requires package

so this helps in case if a person doesn't want to use mysqlclient package + this way tests aren't failing => the package is downloaded separately

upstream/984798cdad2071ed66d3cf8b7e65a6afbadf6155.patch | (download)

test/test_db.py | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

 [patch] update test_db.py


upstream/cd9b2ab6ae05c217111633dbf28c0b891e5ba546.patch | (download)

test/test_text.py | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 [patch] test_text: to correct

one of the test_texts is commented out, cause it works unpredictable

upstream/2b7dd98ad34991f3e102b7e0dd25f598ef6336eb.patch | (download)

test/test_web.py | 18 10 + 8 - 0 !
1 file changed, 10 insertions(+), 8 deletions(-)

 [patch] this test behaves randomly


upstream/783ab92bd6c704f40327f22026133cff6d030861.patch | (download)

.travis.yml | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 [patch] no one needs 3.5 anyway


upstream/dd9a94f868c76bb7b505dfbc73835cce43b6999c.patch | (download)

test/test_text.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] update test_text.py


upstream/fc7e2efa11959f5e43012d52199c40bd58380b61.patch | (download)

test/test_web.py | 17 8 + 9 - 0 !
1 file changed, 8 insertions(+), 9 deletions(-)

 [patch] update test_web.py


upstream/8b515895ea9242abc67507f308a20a006a48f156.patch | (download)

.gitignore | 2 2 + 0 - 0 !
test/test_text.py | 4 3 + 1 - 0 !
test/test_web.py | 3 2 + 1 - 0 !
3 files changed, 7 insertions(+), 2 deletions(-)

 [patch] seeds added


upstream/643cd0efafe13a8ce41cf392e42c14edb93599c3.patch | (download)

test/test_text.py | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 [patch] seed planted directly to the problematic test


upstream/15321c8a3e1c2a8db7b7d2ddf3fbfa7a64eb5164.patch | (download)

test/test_text.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] update test_text.py


upstream/070f9844a79b655324800382ffea5b8caf2b12bb.patch | (download)

test/test_text.py | 5 2 + 3 - 0 !
1 file changed, 2 insertions(+), 3 deletions(-)

 [patch] update test_text.py


upstream dev/17f215438166729114762c3d9b3179dacd31490d modified.patch | (download)

.travis.yml | 20 8 + 12 - 0 !
examples/03-en/08-topmine_ngrammer.py | 4 2 + 2 - 0 !
pattern/db/__init__.py | 2 1 + 1 - 0 !
pattern/text/__init__.py | 27 20 + 7 - 0 !
pattern/text/de/de-verbs.txt | 1 1 + 0 - 0 !
pattern/text/de/inflect.py | 647 436 + 211 - 0 !
pattern/vector/__init__.py | 2 1 + 1 - 0 !
pattern/web/__init__.py | 6 6 + 0 - 0 !
setup.py | 7 4 + 3 - 0 !
test/test_db.py | 23 14 + 9 - 0 !
test/test_de.py | 36 30 + 6 - 0 !
test/test_text.py | 5 3 + 2 - 0 !
test/test_vector.py | 2 1 + 1 - 0 !
test/test_web.py | 13 12 + 1 - 0 !
14 files changed, 539 insertions(+), 256 deletions(-)

 [patch] new:irregular inflection of prefix verbs with known base
 (#258)

* example bug fixes

* python 3 release

* python 3 release

* setup updated

* new: additional logic to allow irregular inflection of unknown prefixed verbs with known base

* new: decomposition of prefix verbs for conjugate

* chg: reorder prefix stripping and infinitive stripping

* test case with unseparable prefix

* chg: skip regular inflection entirely if base verb is identified

* chg: remove debugging try-catch

* chg: problematic StopIteration cases due to breaking changes in 3.7

* switch to force conjugate to consider base form only

* allow parsing base verb candidate to find verbs with stacked prefixes

* failing verbs

* new: faux prefix verbs with at stem that looks like a prefix

* chg: reinstate and add new testcases for test_conjugate

* chg: block exceptional handling of verbs that only look like they have a prefix/end in 'ieren' suffix

use system modules.patch | (download)

pattern/vector/svm/__init__.py | 8 4 + 4 - 0 !
pattern/vector/svm/libsvmutil.py | 4 2 + 2 - 0 !
pattern/web/__init__.py | 2 1 + 1 - 0 !
3 files changed, 7 insertions(+), 7 deletions(-)

---
remove paypal.patch | (download)

docs/html/pattern.html | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

---
fix tests.patch | (download)

test/test_db.py | 3 3 + 0 - 0 !
test/test_de.py | 40 8 + 32 - 0 !
test/test_en.py | 21 12 + 9 - 0 !
test/test_es.py | 12 6 + 6 - 0 !
test/test_fr.py | 10 5 + 5 - 0 !
test/test_it.py | 14 7 + 7 - 0 !
test/test_metrics.py | 2 1 + 1 - 0 !
test/test_nl.py | 16 8 + 8 - 0 !
test/test_ru.py | 5 4 + 1 - 0 !
test/test_search.py | 3 3 + 0 - 0 !
test/test_vector.py | 2 1 + 1 - 0 !
11 files changed, 58 insertions(+), 70 deletions(-)

---