308
edits
| Line 58: | Line 58: | ||
CmdUtils.CreateCommand({ | CmdUtils.CreateCommand({ | ||
... | ... | ||
arguments: [ {role: 'object', nountype: noun_arb_text}, | arguments: [ {role: 'object', nountype: noun_arb_text, label: 'query'}, | ||
{role: 'instrument', nountype: noun_type_searchengine} ], | {role: 'instrument', nountype: noun_type_searchengine} ], | ||
... | ... | ||
Please refer to [[Labs/Ubiquity/Parser_2/Semantic_Roles|Semantic roles in Parser 2]] for a list of supported semantic roles with examples of their use. | Please refer to [[Labs/Ubiquity/Parser_2/Semantic_Roles|Semantic roles in Parser 2]] for a list of supported semantic roles with examples of their use. Note that the <code>label</code> parameter (used in specifying the <code>object</code> argument above) is optional. | ||
In addition, the old-style (but rare) <code>DOType</code> and <code>DOLabel</code> specifications are also no longer supported. | In addition, the old-style (but rare) <code>DOType</code> and <code>DOLabel</code> specifications are also no longer supported. | ||
edits