X hits on this document

Powerpoint document

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

128 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 views128
Page views128
Page last viewedWed Dec 07 21:01:28 UTC 2016
Pages47
Paragraphs392
Words1978

Comments