|
|
|
lemmas(self,
classid=None)
Return a list of all verb lemmas that appear in any class, or in the
classid if specified. |
source code
|
|
|
wordnetids(self,
classid=None)
Return a list of all wordnet identifiers that appear in any class, or
in classid if specified. |
source code
|
|
|
classids(self,
lemma=None,
wordnetid=None,
fileid=None,
classid=None)
Return a list of the verbnet class identifiers. |
source code
|
|
|
vnclass(self,
fileid_or_classid)
Return an ElementTree containing the xml for the specified verbnet
class. |
source code
|
|
|
files(self,
vnclass_ids=None)
Return a list of files that make up this corpus. |
source code
|
|
Inherited from xmldocs.XMLCorpusReader :
raw ,
xml
Inherited from api.CorpusReader :
__repr__ ,
abspath ,
abspaths ,
encoding ,
open
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__str__
|
|
|
|
|
|
|
|
longid(self,
shortid)
Given a short verbnet class identifier (eg '37.10'), map it to a long
id (eg 'confess-37.10'). |
source code
|
|
|
shortid(self,
longid)
Given a long verbnet class identifier (eg 'confess-37.10'), map it to
a short id (eg '37.10'). |
source code
|
|
|
pprint(self,
vnclass)
Return a string containing a pretty-printed representation of the
given verbnet class. |
source code
|
|
|
pprint_subclasses(self,
vnclass,
indent='
' )
Return a string containing a pretty-printed representation of the
given verbnet class's subclasses. |
source code
|
|
|
pprint_members(self,
vnclass,
indent='
' )
Return a string containing a pretty-printed representation of the
given verbnet class's member verbs. |
source code
|
|
|
pprint_themroles(self,
vnclass,
indent='
' )
Return a string containing a pretty-printed representation of the
given verbnet class's thematic roles. |
source code
|
|
|
pprint_frame(self,
vnframe,
indent='
' )
Return a string containing a pretty-printed representation of the
given verbnet frame. |
source code
|
|
|
pprint_description(self,
vnframe,
indent='
' )
Return a string containing a pretty-printed representation of the
given verbnet frame description. |
source code
|
|
|
pprint_syntax(self,
vnframe,
indent='
' )
Return a string containing a pretty-printed representation of the
given verbnet frame syntax. |
source code
|
|
|
pprint_semantics(self,
vnframe,
indent='
' )
Return a string containing a pretty-printed representation of the
given verbnet frame semantics. |
source code
|
|
Inherited from xmldocs.XMLCorpusReader :
read
|
Inherited from api.CorpusReader :
filenames
|