X hits on this document

Powerpoint document

Python for NLP and the Natural Language Toolkit - page 44 / 47

171 views

0 shares

0 downloads

0 comments

44 / 47

Example (continued)

>>> context = None                                        # The type of the preceding word                      for token in tokens:  ... outcome = token.type()                             cfdist[context].inc(outcome)  ...   context = token.type()

Document info
Document views171
Page views171
Page last viewedFri Jan 20 12:19:06 UTC 2017
Pages47
Paragraphs392
Words1978

Comments