Entries from 2013-07-10 to 1 day
Identifying Dialogue Act Types (6.2.2) >>> from nltk_init import * >>> posts = nltk.corpus.nps_chat.xml_posts()[:10000] >>> def dialogue_act_features(post): ... features = {} ... for word in nltk.word_tokenize(post): ... features['contains…