Judging Noun Types
Wednesday, July 29th, 2009Introduction
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.
-
Or, as I often write them, “nountypes.” ↩