Commit Graph

132 Commits

Author SHA1 Message Date
Adriane Boyd
afd744bc05
Update Travis CI pip install steps (#6440) 2020-11-24 14:10:16 +01:00
Ines Montani
cf65a80f36 Refactor lemmatizer and data table integration (#4353)
* Move test

* Allow default in Lookups.get_table

* Start with blank tables in Lookups.from_bytes

* Refactor lemmatizer to hold instance of Lookups

* Get lookups table within the lemmatization methods to make sure it references the correct table (even if the table was replaced or modified, e.g. when loading a model from disk)
* Deprecate other arguments on Lemmatizer.__init__ and expect Lookups for consistency
* Remove old and unsupported Lemmatizer.load classmethod
* Refactor language-specific lemmatizers to inherit as much as possible from base class and override only what they need

* Update tests and docs

* Fix more tests

* Fix lemmatizer

* Upgrade pytest to try and fix weird CI errors

* Try pytest 4.6.5
2019-10-01 21:36:03 +02:00
Ines Montani
3d8fd4b461 Revert #4334 2019-09-29 17:32:12 +02:00
Ines Montani
c9cd516d96 Move tests out of package (#4334)
* Move tests out of package

* Fix typo
2019-09-28 18:05:00 +02:00
Ines Montani
16fa4d6b90 Update .travis.yml 2019-03-09 14:36:52 +01:00
Ines Montani
b65e2f554f Update CI
Only keep Travis for Python 2.7 for now until we've sorted out unicode build in Azure Pipelines
2019-03-09 13:06:18 +01:00
Ines Montani
235a0e948e Tidy up CI config 2019-02-24 12:07:33 +01:00
Ines Montani
b570a1e203 Exclude website branch from CI 2019-02-24 11:52:16 +01:00
ines
778e5f4da3 Merge branch 'master' into develop 2018-06-11 00:38:04 +02:00
Daniel Ruf
d6d688914f chore: cache dependencies (#2418)
* chore: cache dependencies

* chore: add CLA
2018-06-11 00:22:41 +02:00
Matthew Honnibal
8661218fe8
Refactor parser (#2308)
* Work on refactoring greedy parser

* Compile updated parser

* Fix refactored parser

* Update test

* Fix refactored parser

* Fix refactored parser

* Readd beam search after refactor

* Fix beam search after refactor

* Fix parser

* Fix beam parsing

* Support oracle segmentation in ud-train CLI command

* Avoid relying on final gold check in beam search

* Add a keyword argument sink to GoldParse

* Bug fixes to beam search after refactor

* Avoid importing fused token symbol in ud-run-test, untl that's added

* Avoid importing fused token symbol in ud-run-test, untl that's added

* Don't modify Token in global scope

* Fix error in beam gradient calculation

* Default to beam_update_prob 1

* Set a more aggressive threshold on the max violn update

* Disable some tests to figure out why CI fails

* Disable some tests to figure out why CI fails

* Add some diagnostics to travis.yml to try to figure out why build fails

* Tell Thinc to link against system blas on Travis

* Point thinc to libblas on Travis

* Try running sudo=true for travis

* Unhack travis.sh

* Restore beam_density argument for parser beam

* Require thinc 6.11.1.dev16

* Revert hacks to tests

* Revert hacks to travis.yml

* Update thinc requirement

* Fix parser model loading

* Fix size limits in training data

* Add missing name attribute for parser

* Fix appveyor for Windows
2018-05-15 22:17:29 +02:00
Matthew Honnibal
b2f1cf8775 Try to fix travis locale problem 2017-12-06 01:50:03 +01:00
Matthew Honnibal
b051c11da7 Try to fix travis locale problem 2017-12-06 01:45:22 +01:00
Matthew Honnibal
beb5ad24c5 Update travis 2017-12-05 17:01:14 +01:00
cclauss
2088adb0b7
--exclude=spacy/compat.py,spacy/lang 2017-11-20 14:00:45 +01:00
cclauss
6f42b240bc
--exclude=spacy/lang to avoid flake8 infinite loop
It is not clear why spacy/lang throws flake8 for a loop.
2017-11-20 12:00:39 +01:00
cclauss
fa7aafd4c7
Use flake8 to look for syntax errors, undefined names 2017-11-20 11:35:28 +01:00
Matthew Honnibal
97ed21492a Test Python 3.5 in Travis 2017-11-08 11:09:06 +01:00
Matthew Honnibal
48f4abdcf2 Update travis, removing pypi build 2017-09-04 20:05:37 +02:00
Matthew Honnibal
6bd0a0df9a Update travis 2017-09-04 19:49:35 +02:00
Matthew Honnibal
d9c609c0f5 Update travis 2017-09-04 19:01:38 +02:00
Matthew Honnibal
3ba9994f1f Update travis 2017-09-04 18:44:23 +02:00
Matthew Honnibal
d47af99561 Update travis.yml 2017-09-04 18:43:33 +02:00
Matthew Honnibal
66646ead26 Update travis 2017-09-04 18:14:15 +02:00
Matthew Honnibal
2dc0d28cc4 Install pytest-timeout in travis 2017-04-07 17:06:18 +02:00
Matthew Honnibal
294718244f Set tb=native in pytest, to try to fix travis flakiness 2017-03-30 05:21:13 -05:00
Matthew Honnibal
be6510c6eb Fiddle with travis 2017-03-16 13:40:59 -05:00
Matthew Honnibal
e4c88e0767 Use py.test instead of pytest in travis tests. 2017-03-16 13:24:27 -05:00
Matthew Honnibal
2f82d68430 Disable sdist setting for now while investigate server problem. 2017-02-16 23:12:22 +01:00
Matthew Honnibal
49cf28e4c6 Fix Travis.yml 2017-02-16 23:04:41 +01:00
Matthew Honnibal
a8e1edb85d Disable compilation-based test 2016-12-18 18:06:22 +01:00
Matthew Honnibal
339b56eb1f Try to get travis to test LC_ALL=en_US.ascii 2016-10-20 14:32:16 +02:00
Matthew Honnibal
33333ca5d4 Disable osx build. 2016-10-19 03:08:24 +02:00
Matthew Honnibal
47c4a8e317 Try to convince travis to build for OSX 2016-10-19 00:31:27 +02:00
Ines Montani
65ebfce891 Update notification settings 2016-10-16 01:51:24 +02:00
Matthew Honnibal
a557a24189 Don't test pypi at the moment 2016-10-15 16:42:45 +02:00
Matthew Honnibal
75529a9f3b Fix pytest discovery from sdist installation in travis 2016-10-15 13:51:48 +02:00
Matthew Honnibal
2990681955 Fix travis 2016-10-15 02:29:25 +02:00
Matthew Honnibal
bc6159f5d9 Fix travis.yml 2016-10-15 02:18:18 +02:00
Matthew Honnibal
bd0e95d23e Fix travis 2016-10-15 02:00:23 +02:00
Matthew Honnibal
7b51990f3a Try testing sdist built on server. 2016-10-15 01:10:33 +02:00
Matthew Honnibal
a0af3b108d Try not requiring sudo 2016-10-13 20:54:46 +02:00
Matthew Honnibal
2ed12c0804 Update travis.yml 2016-10-13 14:34:48 +02:00
Matthew Honnibal
839f551ae3 Work on travis script 2016-10-13 14:32:02 +02:00
Matthew Honnibal
853f7c318d Fix travis.yml 2016-10-13 13:54:03 +02:00
Matthew Honnibal
c684eb1efe Fix travis.yml 2016-10-13 13:09:30 +02:00
Matthew Honnibal
dd26035db9 Refactor travis, to try to test PyPi compilation as well. 2016-10-13 12:39:41 +02:00
Matthew Honnibal
bebf5efe6f Remove osx from travis.yml 2016-10-13 12:23:45 +02:00
Matthew Honnibal
d06ee4b531 Test osx in Travis 2016-10-13 11:22:33 +02:00
Matthew Honnibal
d3d1db800c Update travis.yml 2016-10-12 19:37:28 +02:00