Filter words with non-ascii characters
Level: Intermediate (score: 3)
In this Bite you extract words from a text that contain non-ascii characters. So Fichier non trouvé
would return a list of one matching word: ['trouvé']
.
Calling extract_non_ascii_words
with He wonede at Ernleȝe at æðelen are chirechen
it returns: ['Ernleȝe', 'æðelen']
, etc.
See the tests for more. Have fun!