spaCy/spacy/lang/fr
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
..
__init__.py Refactor lemmatizer and data table integration (#4353) 2019-10-01 21:36:03 +02:00
_tokenizer_exceptions_list.py Tidy up and auto-format 2019-08-20 17:36:34 +02:00
examples.py Update exemples.py (#3838) 2019-06-14 09:31:05 +02:00
lemmatizer.py Refactor lemmatizer and data table integration (#4353) 2019-10-01 21:36:03 +02:00
lex_attrs.py Update lex_attrs.py (#3835) 2019-06-11 10:59:16 +02:00
punctuation.py
stop_words.py
syntax_iterators.py
tag_map.py
tokenizer_exceptions.py Fix flags 2019-03-09 02:46:04 +01:00