Package nltk :: Package corpus :: Package reader :: Module string_category
[hide private]
[frames] | no frames]

Module string_category

source code

Read tuples from a corpus consisting of categorized strings. For example, from the question classification corpus:

NUM:dist How far is it from Denver to Aspen ? LOC:city What county is Modesto , California in ? HUM:desc Who was Galileo ? DESC:def What is an atom ? NUM:date When did Hawaii become a state ?

Classes [hide private]
  StringCategoryCorpusReader