Commit Graph

2624 Commits

Author SHA1 Message Date
Matthew Honnibal
a6ba43ecaf * Fix errors in packaging revision 2015-12-29 18:37:26 +01:00
Matthew Honnibal
4b4eec8b47 * Fix Issue #201: Tokenization of there'll 2015-12-29 18:09:09 +01:00
Matthew Honnibal
86ee9d046d * Remove test that belongs to a change for master 2015-12-29 18:07:23 +01:00
Matthew Honnibal
a2dfdec85d * Clean up spacy.util 2015-12-29 18:06:09 +01:00
Matthew Honnibal
aec130af56 Use util.Package class for io
Previous Sputnik integration caused API change: Vocab, Tagger, etc
were loaded via a from_package classmethod, that required a
sputnik.Package instance. This forced users to first create a
sputnik.Sputnik() instance, in order to acquire a Package via
sp.pool().

Instead I've created a small file-system shim, util.Package, which
allows classes to have a .load() classmethod, that accepts either
util.Package objects, or strings. We can later gut the internals
of this and make it a proxy for Sputnik if we need more functionality
that should live in the Sputnik library.

Sputnik is now only used to download and install the data, in
spacy.en.download
2015-12-29 18:00:48 +01:00
Matthew Honnibal
0e2498da00 * Replace from_package with load() classmethod in Vocab 2015-12-29 16:56:51 +01:00
Matthew Honnibal
c5902f2b4b * Upd Lemmatizer to use MockPackage. Replace from_package with load() classmethod 2015-12-29 16:56:02 +01:00
Matthew Honnibal
4131e45543 * Add MockPackage class, to see whether we can proxy for Sputnik in a lightweight way 2015-12-29 16:55:03 +01:00
Matthew Honnibal
f5dea1406d * Fix silly mistake in Language.__init__ 2015-12-28 18:48:57 +01:00
Matthew Honnibal
3bc498e9c9 Merge branch 'master' of https://github.com/honnibal/spaCy 2015-12-28 18:03:06 +01:00
Matthew Honnibal
187960606f * Fix pickle problems 2015-12-28 16:54:03 +01:00
Matthew Honnibal
8c7e149ec9 * Replace kwargs argument of Language.__init__ with explicit arguments, to fix pickle bug 2015-12-28 15:56:27 +01:00
Matthew Honnibal
5f40f75d1d * Use --tb=native for py.test in build.py 2015-12-28 14:53:36 +01:00
Matthew Honnibal
f5faa9e327 Merge pull request #215 from henningpeters/master
fix model download
2015-12-29 00:17:20 +11:00
Henning Peters
1c4352c42e bump version 2015-12-28 13:53:26 +01:00
Henning Peters
32d655b6e1 bump version 2015-12-28 09:34:39 +01:00
Matthew Honnibal
8b61d45ed0 * Fix merge conflicts for headers branch 2015-12-27 17:46:25 +01:00
Matthew Honnibal
45afda5af3 Merge branch 'henningpeters-headers' 2015-12-27 17:38:06 +01:00
Matthew Honnibal
6bb9c7f311 Merge pull request #202 from henningpeters/sputnik
access model via sputnik
2015-12-28 03:29:53 +11:00
Henning Peters
2528217b7e get mingw32 to work, enable pytest fast-fail 2015-12-23 00:12:28 +01:00
Henning Peters
e457975e8c get mingw32 to work 2015-12-22 23:41:37 +01:00
Henning Peters
e4ec132b00 get mingw32 to work 2015-12-22 23:27:34 +01:00
Henning Peters
0e321a7105 get mingw32 to work 2015-12-22 23:25:38 +01:00
Henning Peters
a404bfec38 bump preshed version 2015-12-22 22:38:25 +01:00
Henning Peters
46fe3a7327 bump thinc version 2015-12-22 13:21:24 +01:00
Henning Peters
1643e63c31 bump preshed version 2015-12-22 11:23:25 +01:00
Henning Peters
e6fc51d6f3 make venv work for mingw 2015-12-22 01:50:58 +01:00
Henning Peters
f5eb3a38f7 fix 2015-12-21 23:28:17 +01:00
Henning Peters
4a1d843682 bump murmurhash version 2015-12-21 21:59:11 +01:00
Henning Peters
74dc02a0e6 fix windows readme 2015-12-21 21:58:53 +01:00
Henning Peters
c17ce6c119 (re-)include cython sources, murmurhash header discovery 2015-12-21 12:40:44 +01:00
Henning Peters
c2bbfb9312 fix powershell action preference 2015-12-19 10:21:32 +01:00
Henning Peters
600d00e3e1 fix powershell action preference 2015-12-19 10:15:23 +01:00
Henning Peters
d8d348bb55 allow to specify version constraint within model name 2015-12-18 19:12:08 +01:00
Henning Peters
1292c11ece streamline ci/build systems 2015-12-18 18:04:26 +01:00
Henning Peters
eebeaf4fbf Merge branch 'headers' of github.com:henningpeters/spaCy into headers 2015-12-18 17:47:29 +01:00
Henning Peters
762bcc4b1f streamline ci/build systems 2015-12-18 17:47:06 +01:00
Henning Peters
f3e73c4ca4 spaCy now passes all tests for visual studio
Visual Studio Express Community 2015 running on Windows Server 2012 Standard:

https://ci.spacy.io/builders/win64-0/builds/38/steps/shell_1/logs/stdio
2015-12-18 13:09:39 +01:00
Henning Peters
e00f87c793 cleanup tmp dir 2015-12-18 12:26:18 +01:00
Henning Peters
7f7299cafb Merge branch 'tmpdir' into headers 2015-12-18 12:25:25 +01:00
Henning Peters
d1f46528ca fix appveyor setup 2015-12-18 11:42:23 +01:00
Henning Peters
93bb6131fb fix tests 2015-12-18 11:34:50 +01:00
Henning Peters
0434d9a085 fix tests 2015-12-18 11:25:21 +01:00
Henning Peters
cfa187aaf0 fix tests 2015-12-18 10:58:02 +01:00
Henning Peters
8359bd4d93 strip data/ from package, friendlier Language invocation, make data_dir backward/forward-compatible 2015-12-18 09:52:55 +01:00
Henning Peters
970278a3d6 no need to link data dir anymore 2015-12-18 09:49:45 +01:00
Matthew Honnibal
96638f68f1 Merge pull request #210 from henningpeters/tmpdir
avoid writing to /tmp (not cross-platform compatible)
2015-12-17 11:34:44 +01:00
Henning Peters
4f3efb8eaf avoid writing to /tmp (not cross-platform compatible) 2015-12-16 19:56:40 +01:00
Henning Peters
4ada39f472 avoid writing to /tmp (not cross-platform compatible) 2015-12-16 19:53:06 +01:00
Henning Peters
6b60861e88 get buildbot running 2015-12-16 19:13:36 +01:00