class documentation

Undocumented

Static Method parse Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
Class Variable tree Undocumented
Instance Variable arguments A list of tuples (argloc, argid), specifying the location and identifier for each of the predicate's argument in the containing sentence. Argument identifiers are strings such as 'ARG0' or 'ARGM-TMP'. ...
Instance Variable baseform The baseform of the predicate.
Instance Variable fileid The name of the file containing the parse tree for this instance's sentence.
Instance Variable parse_corpus A corpus reader for the parse trees corresponding to the instances in this nombank corpus.
Instance Variable predicate A NombankTreePointer indicating the position of this instance's predicate within its containing sentence.
Instance Variable predid Identifier of the predicate.
Instance Variable sensenumber The sense number of the predicate.
Instance Variable sentnum The sentence number of this sentence within fileid. Indexing starts from zero.
Instance Variable wordnum The word number of this instance's predicate within its containing sentence. Word numbers are indexed starting from zero, and include traces and other empty parse elements.
Property roleset The name of the roleset used by this instance's predicate. Use nombank.roleset() <NombankCorpusReader.roleset> to look up information about the roleset.
Method _get_tree Undocumented
@staticmethod
def parse(s, parse_fileid_xform=None, parse_corpus=None): (source)

Undocumented

def __init__(self, fileid, sentnum, wordnum, baseform, sensenumber, predicate, predid, arguments, parse_corpus=None): (source)

Undocumented

def __repr__(self): (source)

Undocumented

def __str__(self): (source)

Undocumented

Undocumented

arguments = (source)

A list of tuples (argloc, argid), specifying the location and identifier for each of the predicate's argument in the containing sentence. Argument identifiers are strings such as 'ARG0' or 'ARGM-TMP'. This list does not contain the predicate.

baseform = (source)

The baseform of the predicate.

The name of the file containing the parse tree for this instance's sentence.

parse_corpus = (source)

A corpus reader for the parse trees corresponding to the instances in this nombank corpus.

predicate = (source)

A NombankTreePointer indicating the position of this instance's predicate within its containing sentence.

Identifier of the predicate.

sensenumber = (source)

The sense number of the predicate.

The sentence number of this sentence within fileid. Indexing starts from zero.

The word number of this instance's predicate within its containing sentence. Word numbers are indexed starting from zero, and include traces and other empty parse elements.

@property
roleset = (source)

The name of the roleset used by this instance's predicate. Use nombank.roleset() <NombankCorpusReader.roleset> to look up information about the roleset.

def _get_tree(self): (source)

Undocumented