class_docstr: Corpus reader for the nombank corpus, which augments the Penn
  Treebank with information about the predicate argument structure
  of every noun instance.  The corpus consists of two parts: the
  predicate-argument annotations themselves, and a set of "frameset
  files" which define the argument labels used by the annotations,
  on a per-noun basis.  Each "frameset file" contains one or more
  predicates, such as ``'turn'`` or ``'turn_on'``, each of which is
  divided into coarse-grained word senses called "rolesets".  For
  each "roleset", the frameset file provides descriptions of the
  argument roles, along with examples.
class_docstr_tok: ["Corpus","reader","for","the","nombank","corpus",",","which","augments","the","Penn","Treebank","with","information","about","the","predicate","argument","structure","of","every","noun","instance",".","The","corpus","consists","of","two","parts",":","the","predicate-argument","annotations","themselves",",","and","a","set","of","``","frameset","files","''","which","define","the","argument","labels","used","by","the","annotations",",","on","a","per-noun","basis",".","Each","``","frameset","file","''","contains","one","or","more","predicates",",","such","as","``","'turn","'","``","or","``","'turn_on","'","``",",","each","of","which","is","divided","into","coarse-grained","word","senses","called","``","rolesets","''",".","For","each","``","roleset","''",",","the","frameset","file","provides","descriptions","of","the","argument","roles",",","along","with","examples","."]
code: def _read_instance_block(
      self, stream, instance_filter=lambda inst: True
  ):
      block = []
  
      # Read 100 at a time.
      for i in range(100):
          line = stream.readline().strip()
          if line:
              inst = NombankInstance.parse(
                  line, self._parse_fileid_xform, self._parse_corpus
              )
              if instance_filter(inst):
                  block.append(inst)
  
      return block
  
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 7 for calling the NombankCorpusReader obj's underlying member method code with example usage: obj._read_instance_block(stream, instance_filter) and returns: block