Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
linguisticsweb:tutorials:linguistics_tutorials:automaticannotation:stanford_pos_tagger_python [2019/03/07 18:24]
sabinebartsch
linguisticsweb:tutorials:linguistics_tutorials:automaticannotation:stanford_pos_tagger_python [2019/03/07 18:32] (current)
sabinebartsch
Line 21: Line 21:
 from nltk import StanfordTagger from nltk import StanfordTagger
  
-text_tok = nltk.word_tokenize("​Just a small snippet of text to test the tagger.")+text_tok = nltk.word_tokenize("​Just a small snippet of text."​)
  
 # print(text_tok) # print(text_tok)