spaCy/spacy/lang/fr
Paul O'Leary McCann aafee5e1b7
Fix lookup usage in French/Catalan (fix #11347) (#11382)
* Fix lookup usage (fix #11347)

Before using the lookups table in the French (and Catalan) lemmatizers,
there's a check to see if the current term is in the table. But it's
checking a string against hashes, so it's always false. Also the table
lookup function is designed so you don't have to do that anyway.

* Use the lookup table directly

* Use string, not token
2022-08-29 10:32:38 +02:00
..
__init__.py Merge remote-tracking branch 'upstream/master' into chore/update-develop-from-master-v3.2-1 2021-10-26 11:53:50 +02:00
_tokenizer_exceptions_list.py Merge branch 'develop' into master-tmp 2020-06-20 15:52:00 +02:00
examples.py Tidy up and auto-format 2020-02-18 15:38:18 +01:00
lemmatizer.py Fix lookup usage in French/Catalan (fix #11347) (#11382) 2022-08-29 10:32:38 +02:00
lex_attrs.py Add feminine form of word "one" in French (#10653) 2022-04-14 10:21:27 +02:00
punctuation.py Merge branch 'master' into tmp/sync 2020-03-26 13:38:14 +01:00
stop_words.py Improvements to French stopwords list (#7941) 2021-06-02 11:50:49 +02:00
syntax_iterators.py Auto-format code with black (#10333) 2022-02-21 09:15:42 +01:00
tokenizer_exceptions.py 🏷 Add Mypy check to CI and ignore all existing Mypy errors (#9167) 2021-10-14 15:21:40 +02:00