How to parse response?

I am using python to get social tags using calais api. My response is a json string. For social tags i see some urls but how can i get the tag name?

Best Answer

Answers

  • @Eyal.Kenigsvain, your reply turned out to be useful for me too. I took a bit different path for parsing the response - namely, parsed the JSON file. Although the response gets parsed fine, I have encountered an issue with this _typeGroup : "socialTag". The problem is that companies and organizations are tagged as belonging to this group. As far as I understood, this type presupposes linking its members to URLs rather than giving exact position in text.

    This format of output (with no offsets specified) doesn't allow me to map the extracted entity to the text. Do you happen to know if there is a way to get offsets for such entities?