Difference in entries between V1 and V2

laramanlaraman Member
edited July 1 in General

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

  • laramanlaraman Member

    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!

  • TaisFukushimaTaisFukushima Member, Administrator, Moderator admin

    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!

Sign In or Register to comment.