On 05/07/2012 03:56 PM, James M Snell wrote:
>
> The templates property allows the verb description to provide
> localized templates for displaying the verb... it allows the templates
> to be made specific to the activity "object" and a language range...
> for instance...
>
> {
> "objectType": "verb",
> "displayName": "Play",
> "value": "play",
> "hypernyms": [ "consume" ],
> "templates": {
> "*": {
> "*": "{actor} played {object}",
> "video": "{actor} watched {object}",
> "audio": "{actor} listened to {object}"
> },
> "fr-*": {
> "*": "{actor} a jou� {object}",
> "video": "{actor} vu {object}",
> "audio": "{actor} �cout� {object}"
> }
> }
> }
>
> Given this, we can see that:
>
> - "play" is a hyponym of "consume"
> - When the "object" has objectType=video, and the locale matches fr-*,
> the display template is "{actor} vu {object}"
> - When the "object" has objectType=audio, and the locale is anything
> other than fr-*, the display template is "{actor} listened to
> {object}"
> - When the "object" has any other object type and locale matches fr-*,
> the display template is "{actor} a jou� {object}"
>
Do you intend tho use the hypernyms as a mechanism to inherit templates?
That is, so I can define a template for some base verb and then
selectively override it in more specific verbs.
What are the use-cases for the synonyms and antonyms? The former I guess
is just an aliasing mechanism, but I'm not sure what you'd do with the
latter.