Monday, March 30, 2009

 

Math expression in english sentence

Having done the word to number conversion, the next target is to write a series of blogs on how to handle expressions expressed in English sentence -

Part I - lets make a simple expression parser, one which can understand expression with constant numbers. Like "hundred and fifty plus five hundred".

Part II - We'll extend the simple parser to handle symbols. Example - "John has hundred and fifty doller" or "John has twice of what Jimmy has.". We'll talk about generating expression forest & symbol tables.

Part III - Solving. Well, we'll put in a agent based design that would
a. traverse through the expression forest
b. recognize patterns & try to map them to the domain they work against (ex. linear equation could be domain of "Linear Solver" agent)
c. Agents solve part of the unknowns. We'll also define a controller that "talks" to different agents to solve all unknowns (unless its not possible to solve for all)

So watch out ...

Comments:
I still get reminded of the tree pattern generating (fractals based images) that you showed to me on your cell phone last year. So, did you get a chance to figure out the mammalian/human equations or are we still stuck with flora?

Vijay
 
hi Vijay, long time.
I did achieve some success and many failures to learn from .... as you rightly said - "Falling and failing is required before one starts walking, then running. Do not let the fall stop you from trying again, and again, till you stop falling, and start walking. "Failures are the stepping stones to success"
 

Post a Comment

Subscribe to Post Comments [Atom]





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]