spaCy/spacy/syntax
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
..
__init__.pxd * Work on greedy parser 2014-12-16 22:46:55 +11:00
__init__.py * Work on greedy parser 2014-12-16 22:46:55 +11:00
_parse_features.pxd * Update parse features 2015-07-08 19:11:36 +02:00
_parse_features.pyx * Remove profile declarations 2015-07-25 18:13:06 +02:00
arc_eager.pxd * Fixes to unshift/fast-forward strategy. Getting 91.55 greedy on NW dev, gold preproc 2015-06-12 01:50:23 +02:00
arc_eager.pyx * Fix sentence-final whitespace issue 2015-11-07 17:34:46 +11:00
ner.pxd * Remove import of _state module 2015-06-23 17:25:08 +02:00
ner.pyx * Adjust NER rules, so that U entries in gazetteer don't become B moves to the model 2015-11-12 04:48:23 +11:00
parser.pxd * Refactor away from the _ml module, to use thinc 4.0. Still some work needs to be done, e.g. to add __reduce__ to the models, more testing, etc. 2015-11-07 03:24:30 +11:00
parser.pyx Use util.Package class for io 2015-12-29 18:00:48 +01:00
stateclass.pxd * Whitespace 2015-08-10 00:09:02 +02:00
stateclass.pyx * Fix bone-headed mistake in StateClass.E 2015-11-07 07:35:28 +11:00
transition_system.pxd * Very scrappy, likely buggy first-cut pickle implementation, to work on Issue #125: allow pickle for Apache Spark. The current implementation sends stuff to temp files, and does almost nothing to ensure all modifiable state is actually preserved. The Language() instance is a deep tree of extension objects, and if pickling during training, some of the C-data state is hard to preserve. 2015-10-13 13:44:41 +11:00
transition_system.pyx * Very scrappy, likely buggy first-cut pickle implementation, to work on Issue #125: allow pickle for Apache Spark. The current implementation sends stuff to temp files, and does almost nothing to ensure all modifiable state is actually preserved. The Language() instance is a deep tree of extension objects, and if pickling during training, some of the C-data state is hard to preserve. 2015-10-13 13:44:41 +11:00
util.py * Add get() function in spacy/syntax/Config 2015-06-07 19:09:15 +02:00