'Return a string containing a pretty-printed representation of
the given verbnet frame syntax.
:param vnframe: An ElementTree containing the xml contents of
a verbnet frame.'

def pprint_syntax(self, vnframe, indent=u''):

    pieces = []
    for elt in vnframe.find(u'SYNTAX'):
        piece = elt.tag
        modifiers = []
        if (u'value' in elt.attrib):
            modifiers.append(elt.get(u'value'))
        modifiers += [(u'%(Value)s%(type)s' % restr.attrib) for restr in (elt.findall(u'SELRESTRS/SELRESTR') + elt.findall(u'SYNRESTRS/SYNRESTR'))]
        if modifiers:
            piece += (u'[%s]' % u'    '.join(modifiers))
        pieces.append(piece)
    return (indent + u'    '.join(pieces))
