spaCy/spacy/tests/tokenizer
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
..
conftest.py * Move tests underneath spacy/ 2015-10-26 00:07:31 +11:00
test_contractions.py Use util.Package class for io 2015-12-29 18:00:48 +01:00
test_emoticons.py * Move tests underneath spacy/ 2015-10-26 00:07:31 +11:00
test_indices.py * Move tests underneath spacy/ 2015-10-26 00:07:31 +11:00
test_infix.py * Move tests underneath spacy/ 2015-10-26 00:07:31 +11:00
test_only_punct.py * Move tests underneath spacy/ 2015-10-26 00:07:31 +11:00
test_post_punct.py * Move tests underneath spacy/ 2015-10-26 00:07:31 +11:00
test_pre_punct.py * Move tests underneath spacy/ 2015-10-26 00:07:31 +11:00
test_special_affix.py * Move tests underneath spacy/ 2015-10-26 00:07:31 +11:00
test_string_loading.py * Move tests underneath spacy/ 2015-10-26 00:07:31 +11:00
test_surround_punct.py * Move tests underneath spacy/ 2015-10-26 00:07:31 +11:00
test_tokenizer.py * Move tests underneath spacy/ 2015-10-26 00:07:31 +11:00
test_tokens_from_list.py * Move tests underneath spacy/ 2015-10-26 00:07:31 +11:00
test_whitespace.py * Move tests underneath spacy/ 2015-10-26 00:07:31 +11:00
test_wiki_sun.py * Move tests underneath spacy/ 2015-10-26 00:07:31 +11:00