To clarify: "in" should have been a "location" delimiter, but when I checked in response to your question, it was not. That issue is now patched in the source version and will be pushed to the preview version in the next update.
On Jun 28, 6:37 pm, Heather <[email protected]> wrote: > Gary, > > Actually, all the delimiters associated with a semantic role work for > that role. For location, that is "near", "on", and "at". Brandon > *just* added "in" to that list, so "in" should work for the "location" > role as soon as 0.5pre3 gets pushed out. > > I'll work on adding to Mitcho's semantic roles documentation to make > this a little clearer. > > Heather > > On Jun 28, 1:16 pm, Gary Hodgson <[email protected]> wrote: > > > Thanks for the really quick reply Mitcho! It's much appreciated! > > I changed the argument to use the 'location' role, and now it reads: > > "view-tasks near list". As per my original question, how do I go about > > changing the preposition used to be "in" rather than "near"? Is it a > > localising action? Sadly the links "localizing commands" and "making > > commands localizable" on the Semantic Roles page are yet to be written. > > > Thanks again for the help! > > > On Sun, Jun 28, 2009 at 4:46 PM, "mitcho (Michael 芳貴 Erlewine)" < > > > [email protected]> wrote: > > > > Hi Gary, > > > > I think the role you're looking for is "location", which in English > > > maps to the delimiters "in" and "at", as well as "near" which wouldn't > > > be applicable in your situation. The use of semantic roles in > > > identifying arguments has tremendous advantages for the localization > > > process which we've begun, as the logic of commands is no longer tied > > > to a specific language. This also allows for synonymous delimiters as > > > well, like "to" and "toward" or "using" and "with" acting the same way. > > > > More information on the use of semantic roles and a master list of > > > semantic roles can be found here: > > > >https://wiki.mozilla.org/Labs/Ubiquity/Parser_2/Semantic_Roles > > > > mitcho > > > > > Hi guys, > > > > > In parser 2 is it possible to define the names of prepositions that > > > > are used in argument roles? > > > > > E.g. Previously there was a modifier called "in", and this meant the > > > > user could enter "view-tasks in list". In Parser2 world the best role > > > > I have found is "source" and this results in "view-tasks from list". > > > > Discussions about which preposition is more suitable aside, I would > > > > prefer the user experience not to be forced to change because of an > > > > API change. Therefore is there a way of customizing the preposition > > > > used? > > > > > Would be great if there could be some feedback before the 0.5 release > > > > to the general public. > > > > > Thanks in advance, > > > > Gary > > > > -- > > > mitcho (Michael 芳貴 Erlewine) > > > [email protected] > > >http://mitcho.com/ > > > linguist, coder, teacher --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ubiquity-firefox" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ubiquity-firefox?hl=en -~----------~----~----~----~------~----~------~--~---
