{
"word": "happy",
"lemmas": [
"happy"
],
"safe": false,
"senses": [
{
"id": "oewn-01151786-a",
"partOfSpeech": "adjective",
"definition": "enjoying or showing or marked by joy or pleasure",
"synonyms": [],
"similar": [
"blessed",
"blissful",
"bright",
"golden",
"halcyon",
"prosperous",
"laughing",
"riant"
],
"usage": []
},
{
"id": "oewn-01052105-s",
"partOfSpeech": "adjective",
"satellite": true,
"definition": "marked by good fortune",
"synonyms": [
"felicitous"
],
"similar": [
"fortunate"
],
"usage": []
},
{
"id": "oewn-02576313-s",
"partOfSpeech": "adjective",
"satellite": true,
"definition": "eagerly disposed to act or to be of service",
"synonyms": [
"glad"
],
"similar": [
"willing"
],
"usage": []
},
{
"id": "oewn-01003861-s",
"partOfSpeech": "adjective",
"satellite": true,
"definition": "well expressed and to the point",
"synonyms": [
"well-chosen"
],
"similar": [
"felicitous"
],
"usage": []
}
],
"synonyms": [
"felicitous",
"glad",
"well-chosen",
"blessed",
"blissful",
"bright",
"golden",
"halcyon",
"prosperous",
"laughing",
"riant",
"fortunate",
"willing"
]
}
curl --location --request GET 'https://zylalabs.com/api/14588/word+sense+thesaurus+api/37375/synonyms+grouped+by+meaning?word=happy&safe=false' --header 'Authorization: Bearer YOUR_API_KEY'
{
"word": "happy",
"lemmas": [
"happy"
],
"safe": false,
"senses": [
{
"id": "oewn-01151786-a",
"partOfSpeech": "adjective",
"definition": "enjoying or showing or marked by joy or pleasure",
"antonyms": [
{
"word": "unhappy",
"kind": "direct",
"id": "oewn-01152997-a",
"definition": "experiencing or marked by or causing sadness or sorrow or discontent"
}
]
},
{
"id": "oewn-01052105-s",
"partOfSpeech": "adjective",
"satellite": true,
"definition": "marked by good fortune",
"antonyms": [
{
"word": "unfortunate",
"kind": "indirect",
"id": "oewn-01053161-a",
"definition": "not favored by fortune; marked or accompanied by or resulting in ill fortune"
}
]
},
{
"id": "oewn-02576313-s",
"partOfSpeech": "adjective",
"satellite": true,
"definition": "eagerly disposed to act or to be of service",
"antonyms": [
{
"word": "unwilling",
"kind": "indirect",
"id": "oewn-02576745-a",
"definition": "not disposed to and refusing to do something"
}
]
},
{
"id": "oewn-01003861-s",
"partOfSpeech": "adjective",
"satellite": true,
"definition": "well expressed and to the point",
"antonyms": [
{
"word": "infelicitous",
"kind": "indirect",
"id": "oewn-01004300-a",
"definition": "not appropriate in application; defective"
}
]
}
],
"antonyms": [
"unhappy",
"unfortunate",
"unwilling",
"infelicitous"
],
"note": "Direct antonyms are recorded between word senses in our word list; indirect ones come from the adjective cluster (a similar adjective's antonym)."
}
curl --location --request GET 'https://zylalabs.com/api/14588/word+sense+thesaurus+api/37376/antonyms+by+meaning?word=happy&safe=false' --header 'Authorization: Bearer YOUR_API_KEY'
{
"word": "happy",
"lemmas": [
"happy"
],
"safe": false,
"relations": [
"hypernyms",
"hyponyms"
],
"senses": [
{
"id": "oewn-01151786-a",
"partOfSpeech": "adjective",
"definition": "enjoying or showing or marked by joy or pleasure",
"words": [],
"related": {
"hypernyms": [],
"hyponyms": []
}
},
{
"id": "oewn-01052105-s",
"partOfSpeech": "adjective",
"satellite": true,
"definition": "marked by good fortune",
"words": [
"felicitous"
],
"related": {
"hypernyms": [],
"hyponyms": []
}
},
{
"id": "oewn-02576313-s",
"partOfSpeech": "adjective",
"satellite": true,
"definition": "eagerly disposed to act or to be of service",
"words": [
"glad"
],
"related": {
"hypernyms": [],
"hyponyms": []
}
},
{
"id": "oewn-01003861-s",
"partOfSpeech": "adjective",
"satellite": true,
"definition": "well expressed and to the point",
"words": [
"well-chosen"
],
"related": {
"hypernyms": [],
"hyponyms": []
}
}
]
}
curl --location --request GET 'https://zylalabs.com/api/14588/word+sense+thesaurus+api/37377/broader+narrower+similar+and+other+related+words?word=happy&safe=false&relation=hypernyms,hyponyms&limit=3' --header 'Authorization: Bearer YOUR_API_KEY'
{
"word": "happy",
"lemmas": [
"happy"
],
"safe": false,
"pronunciations": {
"happy": [
{
"ipa": "ˈhæpi",
"variety": "US"
},
{
"ipa": "ˈhæpiː",
"variety": "GB"
}
]
},
"inflections": {
"happy": [
"happier",
"happiest"
]
},
"senses": [
{
"id": "oewn-01151786-a",
"partOfSpeech": "adjective",
"definition": "enjoying or showing or marked by joy or pleasure",
"lexicalCategory": "adj.all",
"examples": [
"a happy smile",
"spent many happy days on the beach",
"a happy marriage"
],
"synonyms": [],
"usage": []
},
{
"id": "oewn-01052105-s",
"partOfSpeech": "adjective",
"satellite": true,
"definition": "marked by good fortune",
"lexicalCategory": "adj.all",
"examples": [
"a felicitous life",
"a happy outcome"
],
"synonyms": [
"felicitous"
],
"usage": []
},
{
"id": "oewn-02576313-s",
"partOfSpeech": "adjective",
"satellite": true,
"definition": "eagerly disposed to act or to be of service",
"lexicalCategory": "adj.all",
"examples": [
"glad to help"
],
"synonyms": [
"glad"
],
"usage": []
},
{
"id": "oewn-01003861-s",
"partOfSpeech": "adjective",
"satellite": true,
"definition": "well expressed and to the point",
"lexicalCategory": "adj.all",
"examples": [
"a happy turn of phrase",
"a few well-chosen words"
],
"synonyms": [
"well-chosen"
],
"usage": []
}
]
}
curl --location --request GET 'https://zylalabs.com/api/14588/word+sense+thesaurus+api/37378/definitions+examples+pronunciation+inflections?word=happy&safe=false' --header 'Authorization: Bearer YOUR_API_KEY'
{
"word": "happy",
"lemmas": [
"happy"
],
"safe": false,
"depth": 2,
"family": {
"noun": [
"happiness"
],
"verb": [],
"adjective": [
"happy"
],
"adverb": [
"happily"
]
},
"members": [
{
"word": "happy",
"partsOfSpeech": [
"adjective"
],
"hops": 0,
"definitions": {
"adjective": "enjoying or showing or marked by joy or pleasure"
}
},
{
"word": "happily",
"partsOfSpeech": [
"adverb"
],
"hops": 1,
"relation": "pertainym",
"definitions": {
"adverb": "in an unexpectedly lucky way"
}
},
{
"word": "happiness",
"partsOfSpeech": [
"noun"
],
"hops": 1,
"relation": "derivation",
"definitions": {
"noun": "state of well-being characterized by emotions ranging from contentment to intense joy"
}
}
],
"count": 3,
"note": "Words linked to this one by our word list's derivation (decide - decision) and pertainym (decisive - decisively) relations, up to \"depth\" links away; hops 0 is the word itself. A family can include a related word with another meaning."
}
curl --location --request GET 'https://zylalabs.com/api/14588/word+sense+thesaurus+api/37379/word+family+derived+forms+grouped+by+part+of+speech?word=happy&safe=false&depth=2' --header 'Authorization: Bearer YOUR_API_KEY'
{
"seed": 42,
"count": 5,
"matching": 1506,
"filters": {
"pos": "noun",
"minLength": 5,
"maxLength": 5,
"level": "common",
"safe": true
},
"words": [
{
"word": "pixie",
"partsOfSpeech": [
"noun"
],
"length": 5
},
{
"word": "labor",
"partsOfSpeech": [
"noun",
"verb"
],
"length": 5
},
{
"word": "sweat",
"partsOfSpeech": [
"noun",
"verb"
],
"length": 5
},
{
"word": "rerun",
"partsOfSpeech": [
"noun",
"verb"
],
"length": 5
},
{
"word": "close",
"partsOfSpeech": [
"noun",
"verb",
"adjective",
"adverb"
],
"length": 5
}
],
"level": "words with 2 or more meanings (default)",
"safeNote": "safe=true is a best-effort filter, not a guarantee: it drops senses our word list tags as vulgar, derogatory, slur or slang, senses whose definitions describe sexual, excretory or illegal-drug meanings or call themselves offensive, and a list of profane and slur words. It can miss some offensive meanings and also hides some harmless ones."
}
curl --location --request GET 'https://zylalabs.com/api/14588/word+sense+thesaurus+api/37380/random+words+for+games+filtered+and+seeded?pos=noun&length=5&level=common&safe=true&count=5&seed=42' --header 'Authorization: Bearer YOUR_API_KEY'
साइन अप करने के बाद, प्रत्येक डेवलपर को एक पर्सनल API एक्सेस की असाइन की जाती है, जो अक्षरों और अंकों का एक यूनिक संयोजन होता है, जिसका उपयोग हमारे API एंडपॉइंट तक पहुंचने के लिए किया जाता है। प्रमाणीकरण के लिए शब्द अर्थ थिसॉरस API के साथ बस अपने बेयरर टोकन को Authorization हेडर में शामिल करें।
| हेडर | विवरण |
|---|---|
Authorization
|
आवश्यक
होना चाहिए Bearer access_key. जब आप सब्सक्राइब हों तो ऊपर "Your API Access Key" देखें।
|
कोई लंबी अवधि की प्रतिबद्धता नहीं। कभी भी अपग्रेड, डाउनग्रेड या कैंसल करें।
अर्थ के आधार पर समूहित समानार्थक और विपरीतार्थक, परिभाषाएँ, संबंधित शब्द और एक सुरक्षित फ़िल्टर।
प्रत्येक अंत बिंदु शब्दों से संबंधित संरचित डेटा लौटाता है जिसमें समानार्थक शब्द, विपरीतार्थक शब्द, परिभाषाएँ, संबंधित शब्द, उच्चारण और रूपांतरण शामिल हैं उदाहरण के लिए समानार्थक शब्द अंत बिंदु अर्थ के अनुसार समूहित समानार्थक शब्द प्रदान करता है जबकि विपरीतार्थक शब्द अंत बिंदु प्रत्यक्ष और अप्रत्यक्ष विपरीतार्थक शब्द सूचीबद्ध करता है
कुंजी क्षेत्र में "शब्द," "लेम्मा," "सेंस," "परिभाषा," "पार्श्ववर्ती," "विपरीत," "संबंधित," और "उच्चारण" शामिल हैं प्रत्येक सेंस में विस्तृत जानकारी होती है जैसे कि शब्द प्रकार और उपयोग के उदाहरण ताकि संपूर्ण समझ प्राप्त हो सके
पैरामीटर अंत बिंदु के अनुसार भिन्न होते हैं लेकिन इसमें "शब्द" विशिष्ट शब्दों को क्वेरी करने के लिए, "सीमा" प्रतिक्रिया की लंबाई को नियंत्रित करने के लिए और भाग-भाषा, शब्द लंबाई और सामान्यता के लिए फ़िल्टर शामिल हो सकते हैं। उपयोगकर्ता इन पैरामीटर के आधार पर अनुरोधों को अनुकूलित कर सकते हैं
प्रतिक्रिया डेटा को एक JSON प्रारूप में व्यवस्थित किया गया है जिसमें मुख्य शब्द शीर्ष पर है इसके बाद अर्थों की एक श्रृंखला है प्रत्येक अर्थ में "परिभाषा" "समानार्थक" और "विलोम" जैसे क्षेत्र होते हैं जो इसे नेविगेट करने और प्रासंगिक जानकारी निकालने में आसान बनाते हैं
विशिष्ट उपयोग के मामले में लेखन उपकरणों को बेहतर बनाना शब्दावली विकास के लिए शैक्षिक ऐप बनाना और ऐसे खेल बनाना शामिल हैं जिन्हें शब्द संघों की आवश्यकता होती है API भाषा अध्ययन में भी सहायक हो सकता है बेहतर समझ के लिए समानार्थक और विपरीतार्थक प्रदान करके
उपयोगकर्ता डेटा का उपयोग करके इसे अनुप्रयोगों में एकीकृत कर सकते हैं जैसे समानार्थक सुझाव देने के लिए विलोम पहचानने के लिए या भाषा सीखने के उपकरणों के लिए उदाहरण के लिए एक लेखन सहायक लौटाए गए डेटा के आधार पर पाठ विविधता को सुधारने के लिए समानार्थक शब्द सुझा सकता है
यदि किसी शब्द के पर्यायवाची या विपरीतवाची नहीं हैं, तो API उन क्षेत्रों के लिए एक खाली सूची लौटाएगी उपयोगकर्ताओं को अपने अनुप्रयोगों में ऐसे मामलों को संभालने के लिए जांचें लागू करनी चाहिए, शायद उपयोगकर्ता को वैकल्पिक सुझाव या प्रांप्ट प्रदान करके