Howdy all. Wondering if anyone's heard of a grammar parser behavior, object or script in Lingo.

What I mean is something that can analyze the syntax of a given plain-english (!) sentence and break it down into the appropriate parts of speech:

"He went to the grocery store"

might be broken down as such:

  He: Subject
  went: Verb
  to the grocery store: Prepositional phrase
    to: Preposition
    the: Definite article
    grocery: Adjective
    store: Object of preposition

...and other such joys. Simple subject/verb/object or subject/verb/adjective constructions shouldn't be a big deal ("Warren is insane") but for compound and complex sentences I'm not quite sure how to really begin the approach. Though in some ways the compound/complex parsing wouldn't really be all that different from the basic parsing; it would, however, have to know when it was looking at such a construction before it could break it into its smaller components.

Obviously there'd have to be a dictionary as well that could recognize individual words and slot them into their likely categories based on context. That's not a big problem either (just tedious to produce).

The idea is that this would be some kind of code that could be used to generate a pre-translation table of words, which would then be converted into another language. (That's not all that difficult to conceive either; it's simply an output generator based on the input... it's the input side of things that I'm most interested in...)


Warren Ockrassa | President, nightwares LLC [EMAIL PROTECTED] nightwares LLC | Consulting Programming http://www.nightwares.com/ Developer | Structor, a presentation development/programming tool Info and demo | http://www.nightwares.com/structor/ Author | Director 8.5 Shockwave Studio: A Beginner's Guide Chapter samples | http://www.nightwares.com/director_beginners_guide/

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to