Various scripts for playing around with natural language processing/generation

spacy_gen.py 127B

12345678
  1. import spacy
  2. nlp = spacy.load('en')
  3. doc = nlp(u'They told us to duck.')
  4. for token in doc:
  5. print (token.pos_, token.tag_)