add a test for "aujourd'hui"

This commit is contained in:
Robyn Speer 2016-12-06 17:39:40 -05:00
parent 21a78f5eb9
commit a8e2fa5acf

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'])