Open RealRong opened 2 years ago
+ GOOD transcription in data.phonetic
in 99% of cases
+ really good audio file with a good GB pronunciation in data.phonetics[0].audio
+ arrows of synonyms and antonyms
- NO transcription in data.phonetic
in half of the words (as you can see above)
- Alot of the data.phonetics[0].text
= undefined
(as you can see above)
- BAD audio file with different voices in data.phonetics[0].audio
- NO arrows of synonyms and antonyms
'hello'
[
{
"word": "hello",
"phonetic": "həˈləʊ",
"phonetics": [
{
"text": "həˈləʊ",
"audio": "//ssl.gstatic.com/dictionary/static/sounds/20200429/hello--_gb_1.mp3"
},
{
"text": "hɛˈləʊ"
}
],
"origin": "early 19th century: variant of earlier hollo ; related to holla.",
"meanings": [
{
"partOfSpeech": "exclamation",
"definitions": [
{
"definition": "used as a greeting or to begin a phone conversation.",
"example": "hello there, Katie!",
"synonyms": [],
"antonyms": []
}
]
},
{
"partOfSpeech": "noun",
"definitions": [
{
"definition": "an utterance of ‘hello’; a greeting.",
"example": "she was getting polite nods and hellos from people",
"synonyms": [],
"antonyms": []
}
]
},
{
"partOfSpeech": "verb",
"definitions": [
{
"definition": "say or shout ‘hello’.",
"example": "I pressed the phone button and helloed",
"synonyms": [],
"antonyms": []
}
]
}
]
}
]
Definitely an old version of the API is needed. Even my app started failing due to missing properties
My app started breaking due to the absence of synonyms and antonyms. The old version was really better than this.
The new api versions' result has changed from the old one. This is causing a lot of inconsistency.
My app started having errors because of this change too. The new one should be introduced as version 3, while the old version should be preserved as version 2.
I added synonyms and antonyms, can you tell me any other things that are breaking your implementation?
I can see that antonyms and synonyms have been added, however, they are just empty lists. Tried it for the words, happy; sad; jump. Here is the response when the search was for sad.
[
{
"word": "sad",
"phonetic": "/sæd/",
"phonetics": [
{
"text": "/sæd/",
"audio": "https://api.dictionaryapi.dev/media/pronunciations/en/sad-1-us.mp3",
"sourceUrl": "https://commons.wikimedia.org/w/index.php?curid=1157595",
"license": {
"name": "BY-SA 3.0",
"url": "https://creativecommons.org/licenses/by-sa/3.0"
}
}
],
"meanings": [
{
"partOfSpeech": "verb",
"definitions": [
{
"definition": "To make melancholy; to sadden or grieve (someone).",
"synonyms": [],
"antonyms": []
}
]
},
{
"partOfSpeech": "adjective",
"definitions": [
{
"definition": "(heading) Emotionally negative.",
"synonyms": [],
"antonyms": []
},
{
"definition": "Sated, having had one's fill; satisfied, weary.",
"synonyms": [],
"antonyms": []
},
{
"definition": "Steadfast, valiant.",
"synonyms": [],
"antonyms": []
},
{
"definition": "Dignified, serious, grave.",
"synonyms": [],
"antonyms": []
},
{
"definition": "Naughty; troublesome; wicked.",
"synonyms": [],
"antonyms": []
},
{
"definition": "Unfashionable; socially inadequate or undesirable.",
"synonyms": [],
"antonyms": [],
"example": "I can't believe you use drugs; you're so sad!"
},
{
"definition": "Soggy (to refer to pastries).",
"synonyms": [],
"antonyms": []
},
{
"definition": "Heavy; weighty; ponderous; close; hard.",
"synonyms": [],
"antonyms": [],
"example": "sad bread"
}
]
}
],
"license": {
"name": "CC BY-SA 3.0",
"url": "https://creativecommons.org/licenses/by-sa/3.0"
},
"sourceUrls": [
"https://en.wiktionary.org/wiki/sad"
]
},
{
"word": "sad",
"phonetics": [],
"meanings": [
{
"partOfSpeech": "noun",
"definitions": [
{
"definition": "The letter ص in the Arabic script.",
"synonyms": [],
"antonyms": []
}
]
}
],
"license": {
"name": "CC BY-SA 3.0",
"url": "https://creativecommons.org/licenses/by-sa/3.0"
},
"sourceUrls": [
"https://en.wiktionary.org/wiki/saad",
"https://en.wiktionary.org/wiki/sad"
]
}
]
They are all empty lists, but the word sad has synonyms such as:
I added synonyms and antonyms, can you tell me any other things that are breaking your implementation?
You know, that was a fun item in your API which you could see where and when it is exactly from. Also there aren't synonyms and antonyms as perfect as they were, anymore. I mean the API used to be better, I think it can be like that again.
Synonyms antonyms are coming empty because Wiktionary usually do not have synonyms at definition level and has that at parts of speech level. For example for the word set we can take a look at its Wiktionary entry here.
My API parses synonyms at definition level, here Wiktionary usually does not have synonyms present, in below image we can see one instance where synonyms are present at definition level.
Usually Wiktionary has synonyms present at parts of speech level, as we can see in the image below.
To decrease inconvenience of API users I have decided to parse these synonyms too and expose them at parts of speech level.
@AmoabaKelvin You can try searching for word sad now at parts of speech level you will find synonyms. 😄
Thanks for using this dictionary API.
@RamtinPRG It will be take some time to bring origin back, I have to change how I parses of the Wiktionary data.
@meetDeveloper is synonyms going to be populated anytime soon?
massive shame to have lost synonyms and antonyms, please bring back!
Hello! I noticed that the source of this great dictionary api has been changed to wiktionary.org. But why synonyms and antonyms are missing? Now the result is like this