def print_relations(self):
        if not hasattr(self, "relations"):
            return None
        for relation in self.relations:
            print relation['_type']
            for k,v in relation.items():
                if not k.startswith("_"):
                    if isinstance(v, unicode):
                        print "\t%s:%s" % (k,v)
                    elif isinstance(v, dict) and v.has_key('name'):
                        print (k, v['name']) % "\t%s:%s"
dataset/ETHPy150Open callowayproject/django-supertagging/supertagging/calais.py/CalaisResponse.print_relations/swapped operands of `%`