×

Generating programmatic interfaces from natural language expressions of authorizations for request of information

  • US 7,620,935 B2
  • Filed: 04/30/2004
  • Issued: 11/17/2009
  • Est. Priority Date: 04/30/2004
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for translating a business rule which authorizes a request for information into an application programming interface (API) expressed in object oriented objects, the business rule being in a linguistic form having a predefined syntax and the rule authorizing a request for information comprising one or more propositional expressions, the method comprising:

  • receiving a stream of input representing a business rule and vocabulary;

    processing the received vocabulary to determine elements of the predefined syntax;

    creating an object type, wherein the object type corresponds to a return type of an operation in the rule authorizing a request for information;

    establishing a current container variable;

    for each propositional expression in the rule authorizing a request for information,setting the current container to be the object type,establishing a context for the propositional expression,processing the propositional expression in the rule authorizing a request for information, andrecording the object type in the current container, the object type being a context resulting from processing the propositional expression;

    wherein establishing the context for the propositional expression comprises;

    for each pronominal reference in the propositional expression having a referent term which is a term in a previously processed propositional expression and which is not a subject of a parametric operator,if the referent term is not subject of an interrogative operator,setting the current container to be the object type that is the resulting context from the propositional expression having a referent term,otherwise, when the referent term is the subject of an interrogative operator,setting the current container to be object type generated for the referent term.

View all claims
  • 6 Assignments
Timeline View
Assignment View
    ×
    ×