Skip to content

Instantly share code, notes, and snippets.

View kootenpv's full-sized avatar

Pascal van Kooten kootenpv

  • Van Kooten AI Solutions / ex-mgnr
  • Utrecht, Netherlands
View GitHub Profile
@ines
ines / emoji.py
Last active March 19, 2017 12:44
Use emoji name for spaCy models in v1.7 🦄
import spacy
nlp = spacy.load('🦄')
doc = nlp(u'Wow, my model is named 🦄 !')
for word in doc:
print(word.text, word.tag_, word.dep_, word.head.text)