Difference in entries between V1 and V2
Categories
- 326 All Categories
- 3 Language datasets
- 9 News and updates
- 18 API endpoints
- 15 Review my code
- 6 Tutorials and presentations
- 92 Frequently asked questions
- 5 How to get useful technical help
- 2 Member guidelines
- 12 Suggest an improvement
- 58 Report a bug
- 10 Ask the Community: Other
- 56 Ask the Community: Technical and operational questions
- 62 General
Difference in entries between V1 and V2
Dear Admins,
Why in version 2 for some words such as : primate, gray
there are two "result" sections, while in version 1 there is only 1 "result" section?
In another mean the results arry in v2 for these words (primate, gray
) has two elements!
I would be so thankful if you check and explain the difference. Did you divide what is in one element in V1 into two elements in V2? Why has this not happened for other words?
https://od-api.oxforddictionaries.com/api/v2/entries/en-us/primate
and
https://od-api.oxforddictionaries.com/api/v2/entries/en-us/gray
v2:
{ id: "gray", metadata: { operation: "retrieve", provider: "Oxford University Press", schema: "RetrieveEntry" }, results: [ {}, {} ], word: "gray" }
v1:
{ metadata: { provider: "Oxford University Press" }, results: [ {} ] }
Tagged:
Comments
Other differences,
prune, book
For both of the above words there are two results elements in V2 while in V1 there is only one results element
This seems to be a discrepancy since for a word like "provision" in both versions V1 and V2 there is only one results element!
Hello @laraman
Please accept my apologies for the slowness of this response
V2 groups the results in a different way to V1.
OD-API v2 groups lexical entries with the same meaning together. In this particular case, gray has two homographs 100 and 200, therefore, the response have two results (two meanings) one regarding the homograph 100 (Us-spelling) and other regarding the homograph 200 (radiation).
I hope it helped!
Hi @TaisFukushima thank you for your reply and all of your efforts.
...and this change is a huge improvement over V1. Thumbs up @TaisFukushima and rest of the team.