You always want to convey some message via your interface. Your messages can be known in advance. You may be able to create a system which ask qustions to recognize your input in the known format. ie.. Presenting your on input into different format that might be acceptable to you. Which is offcourse 2 step process but may help you.

The message conveyed can be put at definite place in the in the scheme of things than if would become more easier to ask questions.

Consider the case:

Travel Booking:: "I want to go from London to New York."

If it recognizes 'from London' and 'To New York' that would be it. Because it has definte templates to handle the information.

artist
===================================================
Perl is fast.. So I spend more time doing fast things.

In reply to Re: Parsing english by artist
in thread Parsing english by wolis

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.