add a test for "aujourd'hui"

This commit is contained in:
Rob Speer 2016-12-06 17:39:40 -05:00
parent d18b149262
commit 24e26c4c1d

View File

@ -17,6 +17,7 @@ def test_apostrophes():
["l'", 'heure'])
eq_(tokenize("L'Hôpital", 'fr', include_punctuation=True),
["l'", 'hôpital'])
eq_(tokenize("aujourd'hui", 'fr'), ["aujourd'hui"])
eq_(tokenize("This isn't French", 'en'),
['this', "isn't", 'french'])