×

Programming in a precise syntax using natural language

  • US 10,248,388 B2
  • Filed: 12/22/2017
  • Issued: 04/02/2019
  • Est. Priority Date: 11/15/2011
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • receiving, via a user interface device, user input for inclusion in a workspace document corresponding to a spreadsheet file, wherein the workspace document is displayed in a graphical user interface of a spreadsheet application that, when executed by one or more computer processors, is configured to evaluate instructions in a precise syntax;

    after receiving the user input, displaying, on a display device, the user input in the workspace document;

    determining, at the one or more computer processors, whether at least a portion of the user input i) is in the precise syntax, or ii) is in an imprecise syntax, including analyzing the user input to determine if the user input includes a user indication, in the precise syntax, that indicates whether at least the portion of the user input i) is in the precise syntax, or ii) is in an imprecise syntax;

    when it is determined that at least the portion of the user input is in the precise syntax,evaluating, at the one or more computer processors, at least the portion of the user input according to the precise syntax;

    when it is determined that at least the portion of the user input is in the imprecise syntax,generating, at the one or more computer processors, an application programming interface (API) call that includes i) the at least the portion of the user input in the imprecise syntax, and ii) information indicating a result of a previous evaluation, by the spreadsheet application, of a user input previously entered into the workspace document,sending, by the one or more computer processors, the API call to a natural language processing (NLP) system implemented by a server system executing machine readable instructions,processing, at the server system, the API call to determine the instruction in the precise syntax that corresponds to the user input in the imprecise syntax, wherein the instruction in the precise syntax is for generating a modification of the result of the previous evaluation,formatting, at the server system, the instruction in the precise syntax according to a format recognized by the spreadsheet application,receiving, at the one or more computer processors, the instruction in the precise syntax from the NLP system implemented by the server system executing machine readable instructions, wherein receiving the instruction in the precise syntax from the server system is responsive to sending the API call to the server system,including, by one or more computer processors, the instruction in the precise syntax in the workspace document such that the spreadsheet application executed by one or more computer processors can evaluate the instruction in the precise syntax, including simultaneously displaying, on the display device, at least the portion of the user input in the imprecise syntax and the instruction in the precise syntax in the workspace document, andafter including the instruction in the precise syntax in the workspace document, evaluating, at one or more computing devices, the instruction in the precise syntax.

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