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

Module bracket_parse

source code

Classes [hide private]
  BracketParseCorpusReader
Reader for corpora that consist of parenthesis-delineated parse trees.
  AlpinoCorpusReader
Reader for the Alpino Dutch Treebank.
Variables [hide private]
  TAGWORD = re.compile(r'\(([^\s\(\)]+) ([^\s\(\)]+)\)')
  WORD = re.compile(r'\([^\s\(\)]+ ([^\s\(\)]+)\)')
  EMPTY_BRACKETS = re.compile(r'\s*\(\s*\(')