Strings to hashes
The nlp
object has already been created for you.
Cet exercice fait partie du cours
Advanced NLP with spaCy
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Look up the hash for the word "cat"
cat_hash = ____.____.____[____]
print(cat_hash)
# Look up the cat_hash to get the string
cat_string = ____.____.____[____]
print(cat_string)