code: def __init__(
      self,
      fileid,
      sentnum,
      wordnum,
      baseform,
      sensenumber,
      predicate,
      predid,
      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.baseform = baseform
      """The baseform of the predicate."""
  
      self.sensenumber = sensenumber
      """The sense number of the predicate."""
  
      self.predicate = predicate
      """A ``NombankTreePointer`` indicating the position of this
          instance's predicate within its containing sentence."""
  
      self.predid = predid
      """Identifier of the predicate."""
  
      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 nombank corpus."""
  
imports: 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 NombankInstance object  with example: obj = NombankInstance(fileid, sentnum, wordnum, baseform, sensenumber, predicate, predid, arguments, parse_corpus)