blog

Inside the Argument

Here’s a little picture of the different sections of text in a single parsed argument and which properties of the resultant argument object they are assigned to.

insidetheargument.jpg

You’ll see, from left to right, outerSpace, modifier, innerSpace, inactivePrefix, input/data, inactiveSuffix.

The example text is from the Catalan example, “compra mitjons amb el Google,” meaning “buy socks with Google.” You’ll notice the argument “amb el Google” is literally “with the Google.” The normalizeArgument() method of the Catalan parser, as I described earlier this week, strips the article “el ” and puts it in the inactivePrefix property of the argument.

I’m going to spend the rest of the day updating Parser 2 design doc and related documentation so they match these and other recent developments in the parser.

Related posts:

  1. Solving a Romantic Problem: Portmanteau’ed Prepositions
  2. Localizing Ubiquity: commands and nountypes
  3. Contribute: how your language identifies its arguments
  4. Ubiquity in Italian!
  5. Talking Ubiquity in Japan: 拡張機能勉強会にて発表

Related posts brought to you by Yet Another Related Posts Plugin.

Tags: , , , , ,

If you enjoyed this post, make sure you subscribe to my RSS feed (optionally with tweets from my Twitter)!

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

One Response to “Inside the Argument”

  1. gialloporpora Says:

    Thank you, Micheal for your suggestions :-D Sandro


© 2006-2008 mitcho (Michael 芳貴 Erlewine).
Proudly powered by WordPress.
Entries (RSS) and Comments (RSS).
The views expressed on these pages are mine alone and do not
reflect those of my employers and clients, past and present.