spaCy/spacy/tests/serialize
Ines Montani 3e8f136ba7 💫 WIP: Basic lookup class scaffolding and JSON for all lemmatizer data (#4178)
* Improve load_language_data helper

* WIP: Add Lookups implementation

* Start moving lemma data over to JSON

* WIP: move data over for more languages

* Convert more languages

* Fix lemmatizer fixtures in tests

* Finish conversion

* Auto-format JSON files

* Fix test for now

* Make sure tables are stored on instance

* Update docstrings

* Update docstrings and errors

* Update test

* Add Lookups.__len__

* Add serialization methods

* Add Lookups.remove_table

* Use msgpack for serialization to disk

* Fix file exists check

* Try using OrderedDict for everything

* Update .flake8 [ci skip]

* Try fixing serialization

* Update test_lookups.py

* Update test_serialize_vocab_strings.py

* Fix serialization for lookups

* Fix lookups

* Fix lookups

* Fix lookups

* Try to fix serialization

* Try to fix serialization

* Try to fix serialization

* Try to fix serialization

* Give up on serialization test

* Xfail more serialization tests for 3.5

* Fix lookups for 2.7
2019-09-09 19:17:55 +02:00
..
__init__.py add __init__.py to empty package dirs 2016-03-14 11:28:03 +01:00
test_serialize_doc.py 💫 Make serialization methods consistent (#3385) 2019-03-10 19:16:45 +01:00
test_serialize_extension_attrs.py 💫 Tidy up and auto-format tests (#2967) 2018-11-27 01:09:36 +01:00
test_serialize_kb.py Tidy up and auto-format 2019-08-20 17:36:34 +02:00
test_serialize_language.py 💫 Make serialization methods consistent (#3385) 2019-03-10 19:16:45 +01:00
test_serialize_pipeline.py 💫 WIP: Basic lookup class scaffolding and JSON for all lemmatizer data (#4178) 2019-09-09 19:17:55 +02:00
test_serialize_tokenizer.py Tidy up and format remaining files 2018-11-30 17:43:08 +01:00
test_serialize_vocab_strings.py 💫 WIP: Basic lookup class scaffolding and JSON for all lemmatizer data (#4178) 2019-09-09 19:17:55 +02:00