Exercise 22: Query transformation examplesOctober 7, 2008
SummaryThe point of this exercise is to evaluate the query transformation system by exploring a number of examples.
  | "Daniel's sister Rebekah": Create a more general transformation: |
 | | {noun} 's {noun} {first_name} -> $x: $1 $2 $x, $x.first_name = $1 |
|
|
  | "My grandpa Bigham": Qualifying a relation using a last name. |
  | "My laptop computer" |
 | | my {adjective} {noun} -> speaker.$2: speaker.$2 is_a $1 |
|
|
  | "What is my older sister's brother's name?": A tricky question. |
Web UIClick here
Milestone: Working implementation of transformation queriesOctober 7, 2008
Today I completed an implementation of
transformation queries which represents another milestone for this project. The end result is being able to interpret a phrase such as "my oldest sister", which qualifies an entity with a set of conditions that need to be solved.
The implementation actually went very well, and it was nice to be able to extend and re-use the essence of the rules implementation to do the heavy lifting. After I finished the implementation, I was pleased to see that not only did my base work, but combining it with previous functionality worked right away. Here are some examples:
  | "My older sister's name" |
  | "My younger sister's last name is Bigham" |
I have yet to actually play with this new concept very much, but I get the sense that it adds a lot more power to the transformation system.
Exercise 19 completedOctober 6, 2008
Although I wasn't able to get version 5.1 of Microsoft's Speech API to work in Windows XP / Visual Studio 2002, I was able to get version 5.1 to work. The text-to-speech quality is brutal, but it works.
SolutionClick hereolder >>