Package nltk :: Package draw :: Module concordance
[hide private]
[frames] | no frames]

Module concordance

source code

Classes [hide private]
  CategorySearchView
  CategorySearchModel
Functions [hide private]
 
pos_concordance() source code
 
demo() source code
Variables [hide private]
  WORD_OR_TAG = '[^/ ]+'
  BOUNDARY = '\\b'
  CORPUS_LOADED_EVENT = '<<CL_EVENT>>'
  SEARCH_TERMINATED_EVENT = '<<ST_EVENT>>'
  SEARCH_ERROR_EVENT = '<<SE_EVENT>>'
  ERROR_LOADING_CORPUS_EVENT = '<<ELC_EVENT>>'
  _DEFAULT = 'English: Brown Corpus (Humor, simplified)'
  _CORPORA = {'Catalan: CESS-CAT Corpus (simplified)': lambda: n...
Variables Details [hide private]

_CORPORA

Value:
{'Catalan: CESS-CAT Corpus (simplified)': lambda: nltk.corpus.cess_cat\
.tagged_sents(simplify_tags= True), 'English: Brown Corpus': lambda: n\
ltk.corpus.brown.tagged_sents(), 'English: Brown Corpus (simplified)':\
 lambda: nltk.corpus.brown.tagged_sents(simplify_tags= True), 'English\
: Brown Corpus (Press, simplified)': lambda: nltk.corpus.brown.tagged_\
sents(categories= 'abc', simplify_tags= True), 'English: Brown Corpus \
(Religion, simplified)': lambda: nltk.corpus.brown.tagged_sents(catego\
ries= 'd', simplify_tags= True), 'English: Brown Corpus (Learned, simp\
...