def METHOD_NAME(self, node):
    output = []
    output.append('Recognition: "{0}"'.format(" ".join(node.words())))
    output.append("Word and rule pairs:")
    for word, rule in node.full_results():
        output.append(" - {0} ({1})".format(word, rule))
    output.append("Extras:")
    for key in sorted(extra.name for extra in self.extras):
        extra_node = node.get_child_by_name(key)
        if extra_node:
            output.append(" - {0}: {1}".format(key, extra_node.value()))
    return "\n".join(output)