'Obtain a list of semantic types.
>>> from nltk.corpus import framenet as fn
>>> stypes = fn.semtypes()
>>> len(stypes) in (73, 109) # FN 1.5 and 1.7, resp.
True
>>> sorted(stypes[0].keys())
[\'ID\', \'_type\', \'abbrev\', \'definition\', \'definitionMarkup\', \'name\', \'rootType\', \'subTypes\', \'superType\']
:return: A list of all of the semantic types in framenet
:rtype: list(dict)'

def semtypes(self):

    if (not self._semtypes):
        self._loadsemtypes()
    return PrettyList((self._semtypes[i] for i in self._semtypes if isinstance(i, int)))
