code: def __init__(
      self,
      fileid,
      sentnum,
      wordnum,
      tagger,
      roleset,
      inflection,
      predicate,
      arguments,
      parse_corpus=None,
  ):
      self.fileid = fileid
      """The name of the file containing the parse tree for this
          instance's sentence."""
  
      self.sentnum = sentnum
      """The sentence number of this sentence within ``fileid``.
          Indexing starts from zero."""
  
      self.wordnum = 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."""
  
      self.tagger = tagger
      """An identifier for the tagger who tagged this instance; or
          ``'gold'`` if this is an adjuticated instance."""
  
      self.roleset = roleset
      """The name of the roleset used by this instance's predicate.
          Use ``propbank.roleset() <PropbankCorpusReader.roleset>`` to
          look up information about the roleset."""
  
      self.inflection = inflection
      """A ``PropbankInflection`` object describing the inflection of
          this instance's predicate."""
  
      self.predicate = predicate
      """A ``PropbankTreePointer`` indicating the position of this
          instance's predicate within its containing sentence."""
  
      self.arguments = tuple(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'``.  This list does *not* contain
          the predicate."""
  
      self.parse_corpus = parse_corpus
      """A corpus reader for the parse trees corresponding to the
          instances in this propbank corpus."""
  
imports: import re
  from functools import total_ordering
  from xml.etree import ElementTree
  from nltk.corpus.reader.api import *
  from nltk.corpus.reader.util import *
  from nltk.internals import raise_unorderable_types
  from nltk.tree import Tree
label_desc: Use image node_id 1 to create a new PropbankInstance object  with example: obj = PropbankInstance(fileid, sentnum, wordnum, tagger, roleset, inflection, predicate, arguments, parse_corpus)