class_docstr: An NLTK interface to the VerbNet verb lexicon.
  
  From the VerbNet site: "VerbNet (VN) (Kipper-Schuler 2006) is the largest
  on-line verb lexicon currently available for English. It is a hierarchical
  domain-independent, broad-coverage verb lexicon with mappings to other
  lexical resources such as WordNet (Miller, 1990; Fellbaum, 1998), XTAG
  (XTAG Research Group, 2001), and FrameNet (Baker et al., 1998)."
  
  For details about VerbNet see:
  https://verbs.colorado.edu/~mpalmer/projects/verbnet.html
class_docstr_tok: ["An","NLTK","interface","to","the","VerbNet","verb","lexicon",".","From","the","VerbNet","site",":","``","VerbNet","(","VN",")","(","Kipper-Schuler","2006",")","is","the","largest","on-line","verb","lexicon","currently","available","for","English",".","It","is","a","hierarchical","domain-independent",",","broad-coverage","verb","lexicon","with","mappings","to","other","lexical","resources","such","as","WordNet","(","Miller",",","1990",";","Fellbaum",",","1998",")",",","XTAG","(","XTAG","Research","Group",",","2001",")",",","and","FrameNet","(","Baker","et","al.",",","1998",")",".","''","For","details","about","VerbNet","see",":","https",":","\/\/verbs.colorado.edu\/~mpalmer\/projects\/verbnet.html"]
docstr: Returns semantics within a single frame
  
  A utility function to retrieve semantics within a frame in VerbNet
  Members of the semantics dictionary:
  1) Predicate value
  2) Arguments
  
  :param vnframe: An ElementTree containing the xml contents of
      a VerbNet frame.
  :return: semantics: semantics dictionary
docstr_tok: ["Returns","semantics","within","a","single","frame","A","utility","function","to","retrieve","semantics","within","a","frame","in","VerbNet","Members","of","the","semantics","dictionary",":","1",")","Predicate","value","2",")","Arguments",":","param","vnframe",":","An","ElementTree","containing","the","xml","contents","of","a","VerbNet","frame",".",":","return",":","semantics",":","semantics","dictionary"]
code: def _get_semantics_within_frame(self, vnframe):
      """Returns semantics within a single frame
  
      A utility function to retrieve semantics within a frame in VerbNet
      Members of the semantics dictionary:
      1) Predicate value
      2) Arguments
  
      :param vnframe: An ElementTree containing the xml contents of
          a VerbNet frame.
      :return: semantics: semantics dictionary
      """
      semantics_within_single_frame = []
      for pred in vnframe.findall("SEMANTICS/PRED"):
          arguments = [
              {"type": arg.get("type"), "value": arg.get("value")}
              for arg in pred.findall("ARGS/ARG")
          ]
          semantics_within_single_frame.append(
              {
                  "predicate_value": pred.get("value"),
                  "arguments": arguments,
                  "negated": pred.get("bool") == "!",
              }
          )
      return semantics_within_single_frame
  
imports: import re
  import textwrap
  from collections import defaultdict
  from nltk.corpus.reader.xmldocs import XMLCorpusReader
label_desc: Use image node_id 15 for calling the VerbnetCorpusReader obj's underlying member method code with example usage: obj._get_semantics_within_frame(vnframe) and returns: semantics_within_single_frame