blog
Posts Tagged ‘nountypes’
Wednesday, August 19th, 2009
Since the dawn of time people have been asking about command chaining in Ubiquity. If you have a translate command and an email command, it would be great to be able to, for example, translate hello to Spanish and email to Juanito. This is what we call command chaining or piping: in a single complex query, specifying multiple (probably two) actions and using the first’s output as the second’s input.1
Today I hope to cover some of the technical considerations required in implementing command chaining in Ubiquity, and I will follow up soon with a blog post on the linguistic considerations required as well.
(more…)
Tags: algorithm, asynchronous, code, JavaScript, Mozilla Planet, nountypes, ubiquity, verbs
Posted in projects | 11 Comments »
Saturday, August 1st, 2009
It’s time for one more installment of Nountype Quirks, where I review and tweak Ubiquity’s built-in nountypes. For an introduction to this effort, please read Judging Noun Types and my updates from Day 1 and Day 2.
Today I ended up spending most of the day attempting to implement (but not yet completing) major improvements to the geolocation-related nountypes whose plans I lay out here.
Note: this blog post includes a number of graphs using HTML/CSS formatting. If you are reading this article through a feed reader or planet, I invite you to read it on my site. (more…)
Tags: algorithm, arguments, code, design, localization, Mozilla Planet, nountypes, scoring, ubiquity
Posted in projects | 1 Comment »
Thursday, July 30th, 2009
Today I’m continuing the process of reviewing and tweaking all of the nountypes built-in to Ubiquity. For a more respectable introduction to this endeavor, please read my blog post from a couple days ago, Judging Noun Types and my status update from yesterday, Nountype Quirks: Day 1.
Note: this blog post includes a number of graphs using HTML/CSS formatting. If you are reading this article through a feed reader or planet, I invite you to read it on my site.
(more…)
Tags: algorithm, arguments, code, design, localization, Mozilla Planet, nountypes, scoring, ubiquity
Posted in projects | No Comments »
Wednesday, July 29th, 2009
Today I began the process of going through all of the nountypes built-in to Ubiquity using the principles and criteria I laid out yesterday—a task I’ve had in planning for a while now. As I explained yesterday, improved suggestions and scoring from the built-in nountypes could directly translate to better and smarter suggestions, resulting in a better experience for all users. Here I’ll document some of the nountype quirks I’ve discovered so far and what remedy has been implemented or is planned.
Note: this blog post includes a number of graphs using HTML/CSS formatting. If you are reading this article through a feed reader or planet, I invite you to read it on my site.
(more…)
Tags: algorithm, arguments, code, design, Mozilla Planet, nountypes, scoring, ubiquity
Posted in projects | 2 Comments »
Wednesday, July 29th, 2009
Introduction
Different arguments are classified into different kinds of nouns in Ubiquity using noun types.1 For example, a string like “Spanish” could be construed as a language, while “14.3” should not be. These kinds of relations are then used by the parser to introduce, for example, language-related verbs (like translate) using the former argument, and number-related verbs (like zoom or calculate) based on the latter. Ubiquity nountypes aren’t exclusive—a single string can count as valid for a number of different nountypes and in particular the “arbitrary text” nountype (noun_arb_text) will always accept any string given.
In addition to the various built-in nountypes, Ubiquity lets command authors write their own nountypes as well.
The functions of a noun type
Nountypes have two functions: the first is accepting and suggesting suggestions and the second is scoring.
(more…)
Tags: arguments, code, design, Mozilla Planet, nountypes, scoring, ubiquity
Posted in projects | 6 Comments »
Wednesday, April 1st, 2009
Recent work in the Ubiquity internationalization realm has focused on the upcoming Ubiquity parser which will bring some great new features to Ubiquity, including support for overlord verbs and semi-automatic localization of commands via semantic roles. It’s possible, though, that these new features will break backwards compatibility of the current command specification and noun types. Creative destruction for the win.
As we look to move forward with incorporating the next generation parser into Ubiquity proper, it thus becomes important to take a look at the current command ecosystem to see how possibly disruptive this move will be. To this end last night I wrote a quick perl script to scrape the commands cached on the herd and get some quantitative answers to my questions.
(more…)
Tags: arguments, code, data, herd, localization, Mozilla Planet, nountypes, parser, ubiquity, verbs
Posted in projects | No Comments »