Skip to content

Instantly share code, notes, and snippets.

@myano
Created April 21, 2011 03:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save myano/933678 to your computer and use it in GitHub Desktop.
Save myano/933678 to your computer and use it in GitHub Desktop.
$ echo '{"query":"cat","sourceLanguage":"en","targetLanguage":"en","primaries":[{"type":"headword","terms":[{"type":"text","text":"cat","language":"en","labels":[{"text":"Verb","title":"Part-of-speech"}]},{"type":"phonetic","text":"/kat/","language":"und"},{"type":"sound","text":"http://www.gstatic.com/dictionary/static/sounds/de/0/cat.mp3","language":"und"}],"entries":[{"type":"related","terms":[{"type":"text","text":"cats","language":"und","labels":[{"text":"3rd person singular present"}]},{"type":"text","text":"catted","language":"und","labels":[{"text":"past participle"}]},{"type":"text","text":"catting","language":"und","labels":[{"text":"present participle"}]},{"type":"text","text":"catted","language":"und","labels":[{"text":"past tense"}]}]},{"type":"meaning","terms":[{"type":"text","text":"Raise (an anchor) from the surface of the water to the cathead","language":"en"}]}]},{"type":"headword","terms":[{"type":"text","text":"cat","language":"en","labels":[{"text":"Noun","title":"Part-of-speech"}]},{"type":"phonetic","text":"/kat/","language":"und"},{"type":"sound","text":"http://www.gstatic.com/dictionary/static/sounds/de/0/cat.mp3","language":"und"}],"entries":[{"type":"related","terms":[{"type":"text","text":"cats","language":"und","labels":[{"text":"plural"}]}]},{"type":"meaning","terms":[{"type":"text","text":"A small domesticated carnivorous mammal with soft fur, a short snout, and retractile claws. It is widely kept as a pet or for catching mice, and many breeds have been developed","language":"en"}]},{"type":"meaning","terms":[{"type":"text","text":"A wild animal of the family","language":"en"}],"entries":[{"type":"example","terms":[{"type":"text","text":"a marbled ","language":"en"}]}]},{"type":"meaning","terms":[{"type":"text","text":"Used in names of catlike animals of other families, e.g., ring-tailed ","language":"en"}]},{"type":"meaning","terms":[{"type":"text","text":"(particularly among jazz enthusiasts) A person, esp. a man","language":"en"}]}]}]}' | python -mjson.tool | xclip -sel clip
{
"primaries": [
{
"entries": [
{
"terms": [
{
"labels": [
{
"text": "3rd person singular present"
}
],
"language": "und",
"text": "cats",
"type": "text"
},
{
"labels": [
{
"text": "past participle"
}
],
"language": "und",
"text": "catted",
"type": "text"
},
{
"labels": [
{
"text": "present participle"
}
],
"language": "und",
"text": "catting",
"type": "text"
},
{
"labels": [
{
"text": "past tense"
}
],
"language": "und",
"text": "catted",
"type": "text"
}
],
"type": "related"
},
{
"terms": [
{
"language": "en",
"text": "Raise (an anchor) from the surface of the water to the cathead",
"type": "text"
}
],
"type": "meaning"
}
],
"terms": [
{
"labels": [
{
"text": "Verb",
"title": "Part-of-speech"
}
],
"language": "en",
"text": "cat",
"type": "text"
},
{
"language": "und",
"text": "/kat/",
"type": "phonetic"
},
{
"language": "und",
"text": "http://www.gstatic.com/dictionary/static/sounds/de/0/cat.mp3",
"type": "sound"
}
],
"type": "headword"
},
{
"entries": [
{
"terms": [
{
"labels": [
{
"text": "plural"
}
],
"language": "und",
"text": "cats",
"type": "text"
}
],
"type": "related"
},
{
"terms": [
{
"language": "en",
"text": "A small domesticated carnivorous mammal with soft fur, a short snout, and retractile claws. It is widely kept as a pet or for catching mice, and many breeds have been developed",
"type": "text"
}
],
"type": "meaning"
},
{
"entries": [
{
"terms": [
{
"language": "en",
"text": "a marbled ",
"type": "text"
}
],
"type": "example"
}
],
"terms": [
{
"language": "en",
"text": "A wild animal of the family",
"type": "text"
}
],
"type": "meaning"
},
{
"terms": [
{
"language": "en",
"text": "Used in names of catlike animals of other families, e.g., ring-tailed ",
"type": "text"
}
],
"type": "meaning"
},
{
"terms": [
{
"language": "en",
"text": "(particularly among jazz enthusiasts) A person, esp. a man",
"type": "text"
}
],
"type": "meaning"
}
],
"terms": [
{
"labels": [
{
"text": "Noun",
"title": "Part-of-speech"
}
],
"language": "en",
"text": "cat",
"type": "text"
},
{
"language": "und",
"text": "/kat/",
"type": "phonetic"
},
{
"language": "und",
"text": "http://www.gstatic.com/dictionary/static/sounds/de/0/cat.mp3",
"type": "sound"
}
],
"type": "headword"
}
],
"query": "cat",
"sourceLanguage": "en",
"targetLanguage": "en"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment