From 4ce0bbc6b6a78cc06597c489508e8b4f87c8b1c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bournhonesque?= Date: Thu, 9 Feb 2017 16:30:43 +0100 Subject: [PATCH] Update unit tests --- spacy/tests/fr/test_exceptions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spacy/tests/fr/test_exceptions.py b/spacy/tests/fr/test_exceptions.py index 02039eb65..2839df0ee 100644 --- a/spacy/tests/fr/test_exceptions.py +++ b/spacy/tests/fr/test_exceptions.py @@ -14,6 +14,8 @@ def test_tokenizer_infix_exceptions(fr_tokenizer, text): @pytest.mark.parametrize('text,lemma', [("janv.", "janvier"), ("juill.", "juillet"), + ("Dr.", "docteur"), + ("av.", "avant"), ("sept.", "septembre")]) def test_tokenizer_handles_abbr(fr_tokenizer, text, lemma): tokens = fr_tokenizer(text)