A Demonstration of Ubiquity Parser 2
Here’s a quick demonstration of Ubiquity Parser 2, aka “the new parser.” I’ll show you how you can use the parser yourself and point out some highlights of the new functionality.
Ubiquity Parser 2: better noun-first suggestions and command localization from mitcho on Vimeo.
Testing Parser 2 requires the latest Ubiquity source, as explained here. If you find any problems or suggestions, please add a ticket to our trac with the keyword new-parser.
Here are some resources for those of you who would like to read more about different features touched on in this video:
- The design document for the new parser
- Writing commands with semantic roles and a proposed inventory of semantic roles
- Some thoughts on noun-first suggestions and Ubiquity in Japanese
In the near future we’ll also be writing up some documentation on how to take advantage of this new parser in your commands as well.
Related posts:
- Ubiquity Parser: The Next Generation Demo
- Ubiquity Commands by The Numbers
- Rolling out the Roles
- This week on Ubiquity Parser: The Next Generation
- Foxkeh demos Ubiquity Parser: The Next Generation
Related posts brought to you by Yet Another Related Posts Plugin.
Tags: arguments, code, Mozilla Planet, parser, ubiquity, verb, video
If you enjoyed this post, make sure you subscribe to my RSS feed (optionally with tweets from my Twitter)!
April 24th, 2009 at 9:37 am
Wow, nice demo
April 24th, 2009 at 6:05 pm
I like what you people are doing. Also, I liked how you said "config;" that's how I will say it from now on, lol
April 29th, 2009 at 12:04 pm
[…] You’ve seen the video. You speak another language. And you’re wondering, “how hard is it to add my language to Ubiquity with Parser 2?” The answer: not that hard. With a little bit of JavaScript and knowledge of and interest i […]
June 4th, 2009 at 10:57 pm
Brilliantly explained
August 14th, 2009 at 11:54 pm
Am I missing something, or is the difference between parser 1 and 2 (like the blue and yellow underlines) gone in Ubituiqy 0.5.4? I can't find any difference.
August 15th, 2009 at 12:25 am
Runar, unfortunately this video is a bit dated now. The blue and yellow coloring was just there for me to help me debug things (and still lives on the Parser 2 Playpen).
Parser 2 was introduced in Ubiquity 0.5. The Ubiquity 0.5 announcement blog post [1] lays out some of the differences, but the huge new highlight is its localizability.
[1] http://labs.mozilla.com/2009/07/ubiquity-0-5/
In Ubiquity right now you can switch between Parser 2 and Parser 1 as Parser 2 has traditionally been a little slower and requires commands to be converted for it, but in the near future we will be deprecating Parser 1.