US8812298B1 - Macro replacement of natural language input - Google Patents

Macro replacement of natural language input Download PDF

Info

Publication number
US8812298B1
US8812298B1 US12/845,441 US84544110A US8812298B1 US 8812298 B1 US8812298 B1 US 8812298B1 US 84544110 A US84544110 A US 84544110A US 8812298 B1 US8812298 B1 US 8812298B1
Authority
US
United States
Prior art keywords
macro
phrase
term
query
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active, expires
Application number
US12/845,441
Inventor
Stephen Wolfram
Peter Overmann
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wolfram Alpha LLC
Original Assignee
Wolfram Alpha LLC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wolfram Alpha LLC filed Critical Wolfram Alpha LLC
Priority to US12/845,441 priority Critical patent/US8812298B1/en
Assigned to WOLFRAM ALPHA LLC reassignment WOLFRAM ALPHA LLC ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: OVERMANN, PETER
Assigned to WOLFRAM ALPHA LLC reassignment WOLFRAM ALPHA LLC ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: WOLFRAM, STEPHEN
Priority to US14/462,282 priority patent/US9229927B2/en
Application granted granted Critical
Publication of US8812298B1 publication Critical patent/US8812298B1/en
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/55Rule-based translation
    • G06F40/56Natural language generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing

Definitions

  • This disclosure generally relates to natural language processing, and more particularly, to systems that provide answers to natural language queries.
  • a user may input a query or an indication of a query into a natural language query answering application or system.
  • the query may be in an imprecise syntax or natural language.
  • the user may desire to determine a formula, (e.g., a fact, rule, or principle expressed in scientific, mathematical, technical, etc., symbols), and may input a corresponding query into the natural language query answering system.
  • the inputted indication may be in ASCII text, for example, and may include technical shorthand, technical abbreviations, pseudocode, etc.
  • the natural language query answering system may determine one or more formulas corresponding to the user's input.
  • other outputs related to the query may be generated.
  • the user may enter a non-formulaic query, such as “What is the weather in Chicago, Ill.?”
  • the natural language query answering system may determine one or more results, and the results and related output(s) are presented to the user.
  • a method of creating a natural language (NL) macro for a natural language query answering application or system includes obtaining a first term or phrase in an imprecise syntax, obtaining a second term or phrase in an imprecise syntax, generating an association between the first term/phrase and the second term/phrase, and storing the association as a natural language macro.
  • the method includes determining a suggested value of the second term or phrase, and providing macro management functions such as deleting, modifying, or searching for a particular natural language macro.
  • the natural language macro may expire when a user's session ends, or may persist across multiple sessions of a user.
  • a method of using an natural language (NL) macro in a NL query includes receiving an original NL query, determining that the original NL query includes one or more NL macros, replacing the one or more NL macros with one or more corresponding NL values to form a revised NL query, processing the revised NL query to generate an answer, and providing an output corresponding to the generated answer.
  • the method may include accessing or processing at least a portion of a previously provided file or other data to generate at least a portion of the answer.
  • a system for answering natural language queries includes a first portion configured to generate a natural language (NL) macro, a second portion configured to generate one or more answers to an NL query, and a third portion configured to detect the NL macro in an original NL query, replace the NL macro with its NL value to form a revised NL query, and provide the revised NL query to the second portion.
  • the first portion includes a macro manager and a macro database
  • the second portion includes a parser to generate one or more expressions and a system to generate one or more results based on the one or more expressions
  • the third portion includes a macro recognizer.
  • the system includes a macro assistant configured to determine a suggested value of a NL macro.
  • FIG. 1 is a block diagram of an example system in which methods and techniques described herein may be implemented
  • FIG. 2 is an embodiment of a natural language query answering engine
  • FIG. 3 is a flow diagram of an example method for providing one or more results to a user based on an input that is of an imprecise syntax or a natural language query;
  • FIG. 4 is a flow diagram of an example method for creating or defining a natural language macro
  • FIGS. 5A and 5B illustrate an example of defining a natural language macro and using it in a query
  • FIGS. 6A , 6 B and 6 C illustrate an example of defining a natural language macro based on a user-provided file or data, and using more than one natural language macro in a query;
  • FIGS. 7A , 7 B and 7 C an example of defining a natural language macro based on a query result
  • FIG. 8 depicts an embodiment of a user interface for managing natural language macros.
  • FIG. 1 is a high level block diagram of an example system 100 that processes natural language (NL) queries and generates answers (and, in some embodiments, information related to the answers) in response to the NL queries.
  • the system 100 comprises an NL query answering system 104 .
  • the NL query answering system 104 comprises a system the same as or similar to the system described in U.S. patent application Ser. No. 11/852,044, entitled “Methods and Systems for Determining a Formula,” and filed on Sep. 7, 2007, which is hereby incorporated by reference herein in its entirety.
  • the system 100 also includes a client device 108 communicatively coupled to the NL query answering system 104 via a network 112 .
  • the client device transmits NL queries to the NL query answering system 104 via the network 112 , and the NL query answering system 104 , in response, transmits answers and, in some embodiments, information related to the answers to the client device 108 via the network 112 .
  • the network 112 may be omitted and the client device 108 may be directly coupled to the NL query answering system 104 .
  • natural language refers to language in a natural or imprecise syntax, such as a human-readable language. Natural language or language using an imprecise syntax is in contrast to a typical computer programming language syntax, in which exact spelling, exact placement of punctuation, exact placement of parentheses, etc. is necessary to specify a particular formula or expression. Similarly, with typical computer programming language syntax, a slight change in punctuation, for example, could specify a completely different formula or expression, or could render a computer language statement meaningless to a compiler. On the other hand, with an imprecise syntax, a formula can be expressed using language and terms that may be readily understandable to a human, but unintelligible to a computer program such as a compiler.
  • imprecise syntax many different variations of language and terms and groupings of language and terms may correspond to one formula.
  • imprecise syntaxes are not limited to expressing only formulas, but may express any concepts that are conveyable by human-readable language.
  • the example NL query answering system 104 includes an NL query answering engine 116 coupled to a macro database 120 .
  • the NL query answering engine 116 processes NL queries from the client device 108 and generates answers and, in some embodiments, generates information related to the answers in response to the NL queries.
  • the macro database 120 stores information regarding NL macros, where the NL macros are typically (but not necessarily) defined by a user.
  • An NL macro is a first term or phrase that represents a second term or phrase, and wherein the second term or phrase is for use in an NL query to an NL query answering system.
  • a user may define an NL macro “My Location” to represent a term or phrase, such as “Chicago, Ill.”
  • NL macro or “macro”
  • NL macro value NL macro value
  • the macro database 120 stores information regarding NL macros, such as a first term or phrase, the corresponding second term or phrase represented by the first term of phrase, and an indication of their association.
  • the NL query answering engine 116 upon receiving an NL query, identifies NL macros in the NL query based on the information stored in the macro database 120 , and replaces the NL macros with the corresponding macro values. Continuing with the example discussed above, if a query includes the phrase “My Location”, the NL query answering engine 116 replaces the phrase “My Location” in the query with the phrase “Chicago, Ill.”
  • a natural language macro is defined by a user.
  • a user may define a NL macro “my morning commute” to represent the natural language expression “I-90 from Arlington Heights, Ill. to downtown Chicago, Ill.”.
  • Subsequent natural language queries may then incorporate the defined macro, e.g., “What is average commute time of my morning commute at 7:00 a.m.?” or “How much gas used for my morning commute?”
  • the user may define an NL macro to reference a portion of an object or file that is stored and is accessible to an NL query answering engine. For example, suppose the user has stored, in a location accessible by the NL query answering engine 116 , a spreadsheet identified in natural language as “ACME Outerwear Financials.” The user may define an NL macro “June 2009 Earnings” as “the second column of the ACME Outerwear Financials.” Subsequent natural language queries may incorporate the defined macro “June 2009 Earnings,” e.g., “Plot June 2009 Earnings,” or “What is sum of June 2009 Earnings?” Multiple NL macros may be included in a single query. In some cases, natural language macros may be nested, e.g., a new NL macro “Chicago June 2009 Earnings” may be defined to be “fourth row of June 2009 Earnings.”
  • the NL query answering system 104 may be configured and located to service a plurality of client devices.
  • the NL query answering system 104 may be implemented via a website that resides on a server or a group of networked computing devices such as a privately-networked group of computing devices, a peer-to-peer network, a computing cloud, or the like.
  • the network 112 may be a private network, a public network such as the Internet, or some combination of private and public networks.
  • FIG. 1 illustrates one client device 108 , in some embodiments there are a plurality of client devices 108 .
  • the NL query answering engine 116 may wholly reside on the client computing device 108 , so that the client device 108 does not need to communicate with another device in order to perform natural language query answering.
  • a portion of the NL query answering engine 116 may reside on the client device 108 , and another portion of the NL query answering system may be centrally located and accessible to multiple client devices.
  • a user interface portion of the NL query answering engine 116 may reside on the client computing device 108 , and a query answering engine portion may be accessible via a server.
  • the macro database 120 may be a component or module residing on the same computing system as the NL query answering engine 116 .
  • the macro database 120 may be implemented on a computing system different from but communicatively coupled to the computing system that executes the NL query answering engine 116 .
  • the macro database 120 is included in the client device 108 , and may include, for example, cookies and/or a database that is local to the client device.
  • the client device 108 identifies NL macros in an NL query and replaces the NL macros with the terms/phrases that the NL macros represent from the local macro database prior to transmitting the NL query to the NL query answering system 104 .
  • a portion of the macro database 120 is included in the client device 108
  • another portion of the macro database 120 is included in the NL query answering system 104 .
  • the client device 108 and the network 112 are omitted, and a user enters queries directly into the NL query answering system 104 .
  • FIG. 2 is diagram of an example NL query answering engine 200 , according an embodiment.
  • the NL query answering engine 200 includes an input/output (I/O) process 202 , a parser 210 , one or more scanners 212 a - 212 n , one or more post processors 215 a - 215 n and an output module 218 .
  • I/O input/output
  • the I/O process 202 includes an I/O interface 206 that receives user inputs or NL queries.
  • the I/O interface 206 may provide elementary error and consistency checking, for example, by performing spell-checking or ensuring that at least some characters are present.
  • the I/O interface 206 also renders output corresponding to evaluated NL queries, such as a result generated by the output module 218 , a status notification, a warning or an error message.
  • the I/O process 202 includes an NL macro recognizer 208 communicatively coupled to the I/O interface 206 and to the NL macro database 120 .
  • the NL macro recognizer 208 operates on the NL queries received by the I/O interface 206 and identifies any defined NL macros that are included in the NL queries.
  • the macro recognizer 208 may access the macro database 120 to interpret the identified NL macros, and based on the interpretation, may translate or expand the NL macros into a corresponding macro value.
  • the macro recognizer 208 substitutes the appropriate natural language macro values for identified NL macros included in the NL query, and forwards the revised, interpreted NL query to the parser 210 .
  • NL queries that do not include any NL macros as identified by the macro recognizer 208 may simply be delivered to the parser 210 in their original form.
  • the parser 210 is a natural language parser, such as the natural language parser described in U.S. patent application Ser. No. 11/852,044.
  • the parser 210 is configured to parse both original NL queries and interpreted NL queries in which NL macros have been replaced with NL macro values.
  • the parser 210 examines the received NL query (whether original or interpreted) to extract keywords, group words into phrases, identify numerical expressions, categorize data, etc.
  • the parser 210 may perform an initial go/no go analysis on the keywords, phrases, or numerical expressions to determine if there is enough information to proceed to a further step.
  • the parser 210 may cause the user to be prompted, via the I/O interface 206 , for additional information such as information that may clarify the information desired by the user.
  • the I/O interface 206 may return the input unchanged along with a message that it cannot interpret the input, and/or that the input does not correspond to any defined macros.
  • the parser 210 may take an initial input and create tokens, and then assemble the tokens into one or more expressions in a precise syntax.
  • the parser 210 may generally take input data in an imprecise syntax and generate expressions in a precise syntax.
  • the parser 210 may create a plurality of tokens: “sin”, “[x]”, “ ⁇ ”, and “0.5”, where “sin” is recognized as a function name, “[x]” is recognized as a variable name, “ ⁇ ” is recognized as an inequality, and “0.5” is recognized as a real number. Then, the parser 210 may generate an expression in a precise syntax using these tokens.
  • the parser 210 may perform additional or alternative processing. For example, the parser may attempt to identify phrases. Additionally, the parser 210 may attempt to rearrange tokens to see if the rearrangements match something that the parser 210 understands, such as a phrase. For instance, the parser 210 may utilize algorithmic rearrangements of the input. Also, the parser 210 may cause the user to be prompted to rephrase the input. Then, the parser 210 may analyze the original input in conjunction with the rephrased input. Further, the parser 210 may utilize machine learning techniques to identify language processing algorithms that work better than others.
  • the parser 210 may determine that the phrase “Naples” is a city, then determine whether the city is Naples, Italy or Naples, Fla., USA. The parser 210 may additionally determine that phrase “population” may mean “current population,” “historical population,” or “metro-area population.”
  • the one or more expressions generated by the parser 210 may be provided to one or more scanners 212 a , 212 b , and 212 n that may each have a particular focus.
  • scanner A 212 a may be directed to developing a graphical plot for numerical expressions or phrases parsed from the input that can be reduced to a plot.
  • scanner A 212 a may develop and output a plot of x 2 (i.e., a parabola).
  • scanner A 212 a may develop and output a plot of values of x that satisfy this expression.
  • Other scanners may have other specific specializations, such as evaluating equations, determining roots, evaluating integrals, evaluating derivatives, determining relevant transforms, etc.
  • Other specializations may include, for example, determining mathematical formulas, determining chemical formulas, determining physics formulas, determining financial formulas, determining engineering formulas, determining medical formulas, etc.
  • Still another specialization may include determining appropriate software programming language code (e.g., generating software programming language code).
  • a scanner could receive data indicating a mathematical expression and generate software programming language code for evaluating the expression.
  • a keyword or an expression related to ballistics may cause the scanner to generate software programming code for modeling the height of a projectile and code for modeling the distance of a projectile.
  • input related to airflow over a wing may return code for modeling turbulent fluid flow over a surface or code for modeling lift and drag in a wing, or both.
  • scanners may be utilized. For instance, if an application is to be devoted for use in a financial field, scanners related to chemical formulas may be omitted.
  • Some scanners may generate results based on a database query.
  • a scanner related to geometry formulas may query a database for keywords “area” and “triangle” for formulas related to those terms.
  • a scanner may query a database for raw data needed to evaluate an expression.
  • an expression may include c, the speed of light, and a scanner may query a database to retrieve a numerical value for c.
  • an expression may require statistical data, such as a population of a particular city, state, or country needed to evaluate a “per capita” expression, and the scanner may query a statistical database to obtain the needed data.
  • an expression may require real-time data such as “traffic congestion,” and a scanner may query an appropriate database to obtain the desired real-time data.
  • a scanner for generating indefinite integrals may receive a mathematical expression and synthesize the indefinite integral of that expression, rather than searching a database of pre-generated indefinite integrals.
  • Some scanners may be capable of doing database queries as well as synthesis of results.
  • the scanner related to geometry formulas may generate an expression for the area of a triangle based on a database query, but may also synthesize another expression by integrating parameter values into formulas retrieved from a database.
  • a scanner querying data for the historical population of Naples, Italy over time may query for discrete population data points year by year, and may also synthesize the discrete data points into a graphical plot for display.
  • each scanner may share results with each of the other scanners. Again, results generated by a scanner based on the shared results may also be shared with each of the other scanners, and so on. This process may continue until the scanners no longer have additional data to add, for example. Trivial transforms may also be recognized and blocked.
  • the results from each scanner to respective postprocessors 215 a , 215 b , and 215 n .
  • the postprocessors 215 a , 215 b , and 215 n evaluate the results and may provide a ranking of each result by assigning a value (e.g., a percentage) to each result.
  • the ranked results may be passed to an output module 218 which may generate an output having the results with rankings above a certain threshold, while omitting results below the threshold.
  • the threshold may be set at a predetermined level, or may be adjusted according to the number of results and a statistical analysis of the rankings. For example, a query that produces ten thousand results may adjust the threshold to a 99% relevance, thereby limiting the displayed results to the top 100. In another example though, where perhaps only a half a dozen results are returned, all the results may be displayed even though the rankings may be relatively low.
  • the output of the output module 218 may comprise a web page, a window, or a portion of a display, etc., having one or more formulas, graphs, graphics, text or output in other formats. Typically, but not necessarily, the output generated by the output module 218 is presented by the I/O interface 206 at which the original NL query was received.
  • scanners may be added or reconfigured based on user needs. For instance, feedback from users or an analysis of user queries may be utilized to add a scanner devoted to a new field (e.g., organic chemistry) or to add further formula data to an existing scanner. Similarly, scanners may be omitted or removed.
  • a new field e.g., organic chemistry
  • FIG. 2 illustrates the NL macro recognizer 208 as being included in the I/O process 202 .
  • the macro recognizer 208 may not be part of the I/O process 202 .
  • the macro recognizer 208 may be included in the parser 210 or some other component of the NL query answering engine 200 .
  • the macro recognizer 208 may be a stand-alone executable application, an added feature or subsystem of a larger application separate from either the I/O process 202 or the NL query answering engine 200 , or an applet accessed via a website, for example.
  • the macro recognizer 208 may also be implemented as a Web service with a Web browser implementing the user interface in a known manner.
  • some portion or all of the I/O process 202 may be included at a client device, such as the client device 108 of FIG. 1 .
  • some portion or all of the I/O process 202 may be included with the NL query answering system (e.g., the NL query answering system 104 of FIG. 1 ) at a centrally available device or group of devices, such as a server, a group of networked computing devices, a peer-to-peer network, a cloud computing network, or other centrally available device or group of devices.
  • the I/O process 202 or some portion thereof, or the NL query answering engine 200 or some portion thereof may be a stand-alone executable application with its own user interface.
  • the I/O process 202 or the NL query answering engine 200 could be an added feature or subsystem of a larger application such as a computational application (e.g., the MATHEMATICA® software system, a spreadsheet application, etc.).
  • the NL query answering engine 200 could be part of a “help” subsystem within a larger application.
  • the some or all of the embodiment 200 could be an applet accessed via a website, for example.
  • some or all of the embodiment 200 may also be implemented as a Web service with a Web browser implementing the user interface in a known manner.
  • the I/O process 202 could be browser plug-in or toolbar system.
  • the natural language query answering engine 200 of FIG. 2 may include a macro manager 220 and/or a macro assistant 225 , each of which may be coupled to the I/O interface 206 and to the macro database 120 , and, in some embodiments, may also be coupled to each other. Similar to the NL macro recognizer 208 , the macro manager 220 and/or the macro assistant 225 may or may not be included in the I/O process 202 . In some embodiments, the macro manager 220 and/or the macro assistant 225 may be included in the parser 210 or some other component of the NL query answering engine 200 .
  • the macro manager 220 and/or the macro assistant 225 may each be a stand-alone executable application, an added feature or subsystem of a larger application separate from either the I/O process 202 or the NL query answering engine 200 , or an applet accessed via a website, for example. Further, the macro manager 220 and/or the macro assistant 225 may also each be implemented as a Web service with a Web browser implementing the user interface in a known manner. Further details of the macro manager 220 and the macro assistant 225 are provided subsequently.
  • FIG. 3 is a flow diagram of an example method 300 for providing one or more results to a user based on an input that is an NL query or of imprecise syntax.
  • the method 300 will be described with reference to FIG. 2 for ease of explanation. It will be understood, however, that the method 300 may be utilized with systems other than the NL query answering engine 200 , and that the NL query answering engine 200 may implement methods other than the method 300 .
  • a natural language query or input of an imprecise syntax may be received at block 302 .
  • the method 300 determines whether or not any natural language macros are included in the received NL query. If, at the block 304 , the NL query is identified as including one or more NL macros, block 308 substitutes corresponding values for the identified NL macros into the originally received NL query to form a revised NL query. For example, the I/O interface 206 of FIG.
  • the macro recognizer 208 may identify any NL macros therein, access the macro database 120 to obtain corresponding macro values, create a revised NL query where any NL macros are replaced with their corresponding values, and make the revised NL query available to the parser 210 .
  • the original NL query is made available to the parser 210 , e.g., the method 300 may proceed from the block 304 directly to block 310 .
  • the NL query (whether original or revised) is parsed at the block 310 .
  • the NL query may be analyzed to create data in a formal or precise syntax.
  • a “yes” branch from a block 312 may be taken to a block 315 .
  • the parsed data (e.g., the output of the parser 210 ) is distributed to each of the plurality of scanners 212 a , . . . , 212 n .
  • each scanner may examine the output of the parser 210 at the block 315 for areas of specific capability with respect to that scanner.
  • the scanner When a scanner identifies data it can process, the scanner creates output specific to the input and then, at a block 318 , the scanner may share its output with each of the other scanners.
  • the scanner 212 a may create a mathematical expression and that mathematical expression may be delivered to scanners 212 b and 212 n .
  • Scanners 212 b and 212 n may be able to synthesize output based on the expression from scanner 212 a that they were not able to process from the input directly received from the parser 210 .
  • the results are passed to the output module 218 at a block 320 .
  • each output is ranked in terms of relevance. Output elements of low relevance optionally may be discarded. At a block 325 , output elements that were not discarded at the block 320 are presented to the user, such as via the I/O interface 206 . Output elements may be presented in rank order, or in the case of more common output elements, in a standard presentation format.
  • the “no” branch from the block 312 may be taken to block 328 and the user may be prompted for more information, e.g., via the I/O interface 206 .
  • the user may be prompted that the original NL query cannot be interpreted and the flow may return to the block 302 to receive a next input.
  • FIG. 4 is a flow diagram of an example method 400 for creating or defining a natural language macro.
  • the method 400 will be described with reference to FIGS. 1 and 2 for ease of explanation.
  • the method 400 may be primarily performed by the macro manager 220 of the NL query answering engine 200 , but also in conjunction with the I/O interface 206 and the macro database 120 as appropriate. It will be understood, however, that the method 400 may be utilized with and performed by systems other than the system 100 of FIG. 1 and the natural language query answering engine 200 of FIG. 2 .
  • a desired NL macro name is obtained.
  • the desired macro name may be obtained, for example, from user input received at the I/O interface 206 , or the desired macro name may be obtained from a received message or from a file. For example, if a user desires to define numerous macros, instead of manually inputting one macro definition at a time, he or she may provide a file from which the I/O interface 206 may obtain the input data for the numerous macros.
  • a corresponding desired NL macro value is obtained.
  • the desired NL macro value may be obtained, for example, from user input received at the I/O interface 206 , or may be obtained from the same or a different received message or file as accessed for the NL macro name.
  • obtaining the desired NL macro value 405 includes an optional step of performing macro assistance 406 .
  • the macro assistant 225 of FIG. 2 may primarily execute the step of performing macro assistance 406 , but also in conjunction with the I/O interface 206 , the macro manager 220 , and the macro database 120 , as needed.
  • performing macro assistance 406 includes suggesting a possible NL macro based on at least the NL macro name or first term or phrase obtained at the block 402 .
  • performing macro assistance 406 may include recognizing that the text “my location” is referring to a location and making an assumption that the text is referring to the user's current location. Then, performing macro assistance 406 may include determining a current location of the user via an IP address, cell towers, GPS information, or other information corresponding to a device at which the I/O interface 206 is displayed, or from which a user has entered the desired NL macro value. The current location may be displayed on the I/O interface 206 as a suggested NL macro value, and upon receiving an acceptance indication from the user, the method 400 may use the suggested NL macro value as obtained desired NL value and proceed to block 408 .
  • performing macro assistance 406 may include recognizing and analyzing words, terms, phrases or other input in the desired NL macro name obtained at the block 402 from the present execution of the method 400 , and in some cases, from one or more previous executions of the method 400 .
  • the analysis may be additionally or alternatively based on, for example, one or more user preferences, user actions or activities, previously stored macros, previously received first and/or second terms or phrases, or other types of data that the NL query answering engine 200 has obtained or has deduced.
  • performing macro assistance 406 may include providing one or more suggested NL values. Upon receiving an indication of acceptance or upon receiving a selection of a particular suggested value by the user, the method 400 may accept the suggested value as the obtained desired NL value, and may proceed to the block 408 .
  • performing macro assistance 406 is executed prior to the block 402 .
  • the NL query answering engine 200 may detect that a user has repeatedly used a same phrase in several previous NL queries (such as at the block 302 and/or at the block 310 during execution of the method 300 ), and based on the detection, the NL query answering engine 200 may perform macro assistance 405 by bringing the repeatedly-used phrase to the user's attention, and asking the user if he or she desires to create a macro for the repeatedly-used phrase.
  • the block 402 may obtain a desired macro name (e.g., from the user) corresponding to the repeated phrase, and the remainder of the method 400 may be executed to define the suggested macro.
  • the desired macro value need not be newly obtained at the block 405 , as the desired macro value is effectively the identified, repeatedly-used phrase.
  • flow may return back to the method 300 to continue with processing the query.
  • performing macro assistance 406 may occur based on NL queries of more than one user. For example, in a company, if different users repeatedly use a same phrase across multiple NL queries, performing macro assistance 406 may include notifying a system administrator and asking if he or she wishes to define a new macro for the repeated phrase for use company-wide or for use by a select group of users.
  • the desired NL macro name and its desired value may be analyzed for any potential errors.
  • a potential error may include a mismatch in contexts, such as when a desired NL name is entered as “location” and the desired valued is entered as “polka dots.”
  • the NL query answering engine 200 is configured to determine potential meanings or senses of words, phrases, and/or groups of textual characters.
  • the macro manager 220 may be configured to detect mismatches between meanings of NL macro names and NL macro values. For example, a NL macro name with the term “location” may be determined to refer to a physical location. The macro manager 220 may then detect when the NL macro value does not apparently correspond to a physical location.
  • the macro manager 220 may determine that the phrase “polka dots” does not appear to correspond to a physical location, while the phrase “Chicago, Ill.” does appear to correspond to a physical location.
  • Other potential errors may include a macro name and/or macro value that already exists in the macro database 120 , a misspelling, a confusing homonym or homophone (e.g. does “bank” refer to a lending institution, a side of a river or a kind of a pool shot?) or other potential errors. If potential errors are identified at the block 408 , one or more warnings or notifications may be displayed 410 .
  • block 415 may store the defined macro and its value into a macro database, such as macro database 120 .
  • the macro stored at the block 415 may be persistent. For example, if a user logs in and creates the macro under an account, the stored macro may be stored in a macro database along with an indication of the corresponding account. When the user logs out, the macro may remain stored so that the user is able access the macro at a later time, such as via the method 200 .
  • persistent macros may be stored at the block 415 for access by more than one user, such as when a system administrator defines a macro for use by a working group or across a company.
  • the macro stored at the block 415 may be transient and not persistent.
  • the user is not required to log in or otherwise be authenticated in order to create macros, nor are the macros stored persistently in conjunction with an account.
  • any transient macro created by the method 400 may exist while the user's corresponding session is open and be temporarily stored at the block 415 , but after the user closes the session or the session is otherwise terminated, the created macro may be lost.
  • the method 400 may be entirely performed by the natural language query answering system 104 . In some embodiments, the method 400 may be entirely performed by a client device 108 . In some embodiments, a first portion of the method 400 may be performed at the NL query answering system 104 , and another portion may be performed by one or more client devices 108 .
  • FIGS. 5A-7C depict different screen shots of natural language macro creation and usage.
  • the illustrative context for FIGS. 5A-7C is the usage of natural language macros by employees of an outerwear company named “ACME Outerwear,” but of course, the principles and techniques demonstrated by the screen shots of FIGS. 5A-7C may easily be applied to any context were natural language macros are desired or used.
  • Each of FIGS. 5A-7C may be displayed in conjunction with the systems and methods disclosed herein, or may be displayed in conjunction with systems and/or methods other than those disclosed herein. Of course, the systems and/or methods of the present disclosure may produce screen shots other than those shown in FIGS. 5A-7C .
  • some of the descriptions for the screen shots in FIGS. 5A-7C refer to references in FIGS. 1 , 2 , 3 and 4 .
  • FIG. 5A shows a screen shot 500 that illustrates defining a natural language macro.
  • the user has entered a desired natural language macro name “target market” 505
  • the user has entered a corresponding NL value “France” 510 .
  • the macro “target market” and its corresponding value “France” are stored.
  • the screen shot 500 may be displayed using the I/O interface 206 of FIG.
  • the inputs 505 and 510 may be received by the I/O interface 206 and passed to the macro manager 220 , the macro manager 220 may create an association between input 505 and input 510 so that input 505 may represent input 510 in NL queries, and the macro manager 220 may store the created macro in the macro database 120 upon an activation of the Save Macro” user control 512 that is detected at the I/O interface 206 .
  • an acknowledgement of a successful creation of the macro may be provided to the user, or, when appropriate (such as at the block 410 of FIG. 4 ), an indication of an unsuccessful creation or of one or more potential errors may be provided to the user.
  • Screen 500 may be displayed per user request, such as when a user selects a command to create a macro on a drop-down menu, when the user enters a textual command to create a macro, or when the user selects a corresponding “macro creation” icon on a tool bar or other screen location.
  • Screen 500 may be a pop-up window, a separate screen, or a portion of an existing window on the display.
  • all of the display elements 502 - 512 may not be simultaneously visible on the display.
  • the exact wording of prompts 502 , 508 and 512 may differ from the wordings of screen 500 , but may still convey a similar meaning, e.g., “New macro name:” for reference 502 , “What value should I assign to [entered new macro name]?” for reference 508 , or “Save?” for reference 512 .
  • both the macro name 505 and its value 510 are of natural language, a precise syntax for the user inputs 505 and 510 is not required.
  • the user may input the macro name 505 and/or the macro value 510 using an imprecise syntax, different imprecise syntaxes, a combination of precise and imprecise syntaxes, or any desired syntax, for that matter.
  • FIG. 5B illustrates a screen shot 520 that utilizes the macro “target market” created by the screen shot 500 of FIG. 5A .
  • the user has entered “target market population” as a desired NL query 525 .
  • the NL query answering system 104 may respond with an input interpretation 530 .
  • the input interpretation response 530 provides a revised interpretation 530 of the user input 525 .
  • the input interpretation “France population” 530 shows that the macro “target market” included the original user input 525 has been replaced with its corresponding value “France.”
  • the input interpretation 530 may provide the interpreted query input 525 without showing macro expansion, and in some embodiments both the user input with and without macro expansion may be provided by the input interpretation field 530 .
  • results and related information pertaining to the NL query “target market population” 525 are displayed on the remainder of the user interface.
  • a numerical result 532 a recent graph of population history 535 , a long-term graph of population history 538 , demographic information 540 , and a comparison to the world population 542 are provided.
  • the format and content of the results 532 - 542 are exemplary only.
  • a different set or combination of result contents using different formats may be provided for the NL query “target market population” 525 .
  • any format, number, or set of results pertaining to one or more answers to the natural language query may be displayed or presented.
  • the user interface may provide one or more user controls 545 a - 545 h to manipulate the results and/or to provide additional data.
  • controls 545 a , 545 c , 545 e and 545 f each may be selected to show additional data related to the target market population.
  • Controls 545 b , 545 d , 545 g and 545 h each may be selected to modify a format or display of the results.
  • Other controls (not shown) may be additionally or alternatively included with the results of the NL query.
  • FIG. 6A depicts a screen shot 600 illustrating a definition of a natural language macro that references portions of a previously stored file that is accessible to the NL query answering system 104 .
  • a user has entered a desired natural language macro name “First Year” 605
  • a second prompt 608 the user has entered a corresponding desired NL value “D3 to D36 of ACME Outerwear Financials” 610 .
  • “First Year” refers to a period of time, i.e., May of 2009 through May of 2010, and “ACME Outerwear Financials” is a company spreadsheet depicted in FIG. 6B as spreadsheet 620 .
  • FIGS. 6A and 6B are concurrently discussed for clarity.
  • the NL query answering engine 200 (and in some embodiments, the parser 210 of the NL query answering engine 200 in particular) understands the natural language text string “ACME Outerwear Financials” to refer to the company spreadsheet file 620 .
  • the company spreadsheet file 620 has been previously provided and stored, and is locally or remotely accessible to the NL query answering engine 200 .
  • the spreadsheet file 620 may have been stored as part of the NL query answering system 104 (e.g., the file 620 may have been uploaded to the NL query answering system 104 ).
  • the spreadsheet file 620 may have been stored external to the NL query answering system 104 , but still may be accessible to the NL query answering system 104 (e.g., the spreadsheet file 620 may have been stored at the client device 108 , at some other location accessible via the network 112 , or at some other location that is directly accessible by the NL query answering system 104 without traversing the network 112 ).
  • the file 620 may have been stored for access by only a particular user (e.g., stored in conjunction with a particular user's account), or the file may have been stored by a system administrator for access by a group of approved users.
  • the provided file 620 is accessible by a select group of one or more users, but is not publically or generally available.
  • the file in this example is a spreadsheet file
  • any type of provided file or provided data may be stored and accessed in conjunction with the systems and methods of the present disclosure. Any known mechanism for accessing information from a file or from data may be used in conjunction with this disclosure, including a database read, a function call, a message exchange, an operating system primitive, a read/write to a common location, a crawl such as a web crawl, a feed ingestion, or any other similar mechanism.
  • the NL query answering engine 200 (and in some embodiments, the parser 210 of the NL query answering engine 200 in particular) understands the natural language text string “D3 to D36 of ACME Outerwear Financials” to mean “cells D3 through D36 of the ACME Outerwear Financials spreadsheet.” These cells and their corresponding cell values are linked to the macro name “First Year,” and an indication of the association is stored in the macro database 120 upon user activation of user control “Save macro” 612 or equivalent. In some embodiments, not only is an indication of the cells D3-D36 stored, but some portion or all of the information in rows 3-36 corresponding to the cells D3 through D36 of the spreadsheet 620 (or indications thereof) may be stored in conjunction with the macro.
  • the NL query answering engine 200 may not require particular cells of spreadsheet 620 to be named in the field 610 .
  • the user may input text into the field 610 , e.g., “May 2009 through May 2010 of ACME Outerwear Financials.” Based on the user input, the NL query answering engine 200 may process some relevant data within the provided file 620 .
  • the NL query answering engine 200 may determine that column D of the ACME Outerwear Financials spreadsheet 620 pertains to dates, and then may proceed to filter cells in Column D and/or their corresponding rows based on the values of column D that are determined to be included in “May 2009 through May 2010.”
  • An acknowledgement of a successful creation of the macro may be provided to the user, or an indication of an unsuccessful creation or of one or more potential errors may be provided to the user, if appropriate.
  • Screen shots 500 and 600 also illustrate the usage of imprecise syntax in user inputs 605 and 610 .
  • the user may or may not use capitalization (e.g., no capitalization in desired macro name 505 but capitalization is included in desired macro name 605 ), and the user may combine precise and imprecise syntaxes (e.g., “D3:D36 of ACME Outerwear Financials” in reference 610 uses both spreadsheet syntax and imprecise syntax).
  • any other imprecise syntax may be used in either NL macro definition or NL value definition, including punctuation or lack thereof, abbreviations, underscores or other special characters, etc.
  • the imprecise syntaxes used in the fields 605 and 610 need not be the same imprecise syntax.
  • FIG. 6C is a screen shot 630 that illustrates the use of more than one macro in a single NL query.
  • a user enters an NL query “Target market's temperature during First Year” 632 .
  • Both the macro “target market” defined in FIG. 5A and the macro “First Year” defined in FIG. 6A are used in the query 632 .
  • the NL query answering system 104 does not require a precise syntax, note that the NL query answering engine 200 is understands both “target market” and “Target market's” to be “France”.
  • the user may enter into field 632 text strings of different syntaxes to query for the same information, such as “First year target market temp” or “temperature of target market throughout the first year” instead of the text shown in the field 632 .
  • the natural language query answering system 200 may display an input interpretation 635 and one or more corresponding results 638 - 645 .
  • the input interpretation 635 of FIG. 5B illustrates the macro “Target market's” expanded to “France,” and the macro “First Year” expanded to “May 2009 to May 2010.” Accordingly, each of the presented results 638 - 645 is limited to temperature between May 2009 and May 2010. Also similar to FIG.
  • one or more user controls 648 a - 648 j may be included for selection to show additional information (e.g., 648 c , 648 e , 648 f , 648 i ) or to show the results in a different format (e.g., 648 a , 648 b , 648 d , 648 g , 648 h , 648 j ).
  • FIGS. 7A-7C are examples of natural language macros used by ACME Outerwear that reference the spreadsheet 620 of FIG. 6B .
  • FIG. 7A illustrates a screen shot 700 that depicts defining a natural language macro to identify salespeople who work out of a particular office.
  • the user has entered a desired natural language macro name “Chicago office” 705
  • the user has entered a corresponding desired NL value “B7, B10, B17, B19-B20, B22, B27, B30, B33 of ACME Outerwear Financials” 710 to identify the salespeople A. Smith, B. Jones and C. Wilson.
  • exact cell identifiers of the spreadsheet 620 are input by the user in the field 710 .
  • the user may use imprecise syntax that indicates a screening or filtering of information in the spreadsheet 620 , e.g., “cells in column B of ACME Outerwear Financials whose contents equal Chicago.”
  • the macro “Chicago office” may be stored along with an indication of cells B7, B10, B17, B19-B20, B22, B27, B30, B33 and/or some or all of the contents of their corresponding rows, such as names “A. Smith, B. Jones, C. Wilson.”
  • the NL query answering engine 200 (and in some embodiments, the parser 210 of the NL query answering engine 200 in particular) of the screen shot 720 refers to the ACME Outerwear file 620 of FIG. 6B that has been previously stored and is locally or remotely accessible to the NL query answering engine 200 .
  • FIG. 7B illustrates a screen shot 720 that depicts a natural language query using all three of the aforementioned example NL macro and references the previously stored user data “ACME Outerwear Financials” 620 .
  • the user has entered an NL query “What portion of sales in the target market during the First Year is attributable to the Chicago Office?” 728 or some other text string of imprecise syntax that conveys a similar meaning.
  • the user has selected user control 730 to obtain an answer to the query 728 .
  • the NL query answering engine 200 (and in some embodiments, the macro recognizer 208 in particular) has replaced each macro with its value to form a revised query that is summarized in the input interpretation 732 .
  • an interpretation of the input 728 without macro substitution may be displayed in the field 732 , and in some embodiments, both interpretations with and without macro substitution may be simultaneously displayed in the field 732 .
  • the revised user input may be processed by the natural language query answering engine 200 to determine one or more results.
  • the NL query answering engine may process a portion or all of information in the provided file 620 or provided data in order to determine the one or more results.
  • the NL query answering engine may process a portion or all of the information in the provided file 620 or data as well as process or access other information (e.g., publically or generally available information, other provided files, user history, etc.) to determine the one or more results.
  • results 735 are displayed in three different formats ( 738 a , 738 b and 738 c ), but, of course, this is only illustrative and any number of results in any number of formats may be displayed.
  • screen 720 a numerical result 738 a is displayed, a pie chart of overall sales 738 b is displayed, and a graph showing per office sales from May, 2009 through May 2010 (reference 738 c ) is displayed.
  • the NL query answering engine 200 (and in some embodiments, the parser 210 in particular) has accessed the macro database 120 and the ACME Outerwear Financials spreadsheet 620 to gather data, and the scanners 212 a - 212 n have operated on the parsed data accordingly to produce the output 738 a - 738 b.
  • FIG. 7B illustrates an additional user control 740 that enables the user to save an NL query as a new NL macro.
  • the screen shot 750 of equivalent of FIG. 7C may be presented.
  • the NL query that was entered at reference 728 of FIG. 7B is presented in the field 752 in an exact or (as shown in FIG. 7C ) a modified form, and identified accordingly 755 as the desired new macro value.
  • the user has input a desired NL macro name “Fr-Chioffice y1 sales” (reference 762 ), and may select user control 765 “Save macro” to save the association between the macro name 762 and the macro value 752 .
  • a future query that includes the macro “Fr-Chioffice y1 sales” will automatically utilize some or all of the results 738 a - 738 c from FIG. 7B in a format that is suitable for to be used in an answer to the future query.
  • While the “Save macro” user control 740 of FIG. 7B is illustrated as a selectable button on a screen, the user may also define macro from a query result via other user control mechanisms, such as via an icon, a drop-down menu, a drag-and-drop (e.g., dragging the query 728 or the result 735 onto a macro creation icon or similar).
  • other user control mechanisms such as via an icon, a drop-down menu, a drag-and-drop (e.g., dragging the query 728 or the result 735 onto a macro creation icon or similar).
  • FIG. 8 illustrates a user interface 800 that allows users to manage macros.
  • the user interface 800 may operate in conjunction with the methods and systems described herein.
  • the user interface 800 may be included in the I/O interface 206 of FIG. 2 , and the macro manager 220 of the I/O interface 206 may operate on input received at the macro management user interface 800 .
  • the user interface 800 may be displayed as a pop-up window, on a tool bar, in a separate window, as a portion of an existing window, or some other display mechanism, however, in other embodiments (not shown), the user interface 800 may take other forms such as a drop down menu, icons, or direct in-line user commands.
  • User interface 800 includes one or more selectable options for managing macros, such as Add Macro 802 , Delete Macro 805 , Modify Macro 808 , List Macros 810 , Search Macros 812 , and other macro management functions 815 .
  • the macro manager 200 of FIG. 2 may perform the corresponding macro management function at least in part by reading, writing, or otherwise accessing the macro database 120 .
  • a separate screen, pop-up window or other user interface may be presented to obtain input needed to perform the selected function. For example, if the user selects Add Macro 802 , a screen such as the screen 500 or the screen 600 may be displayed, and the user may enter input therein to define or add a new macro.
  • the Delete Macro 805 allows a user to invalidate a previously defined macro or remove it from the macro database 120 .
  • a Delete Macro 805 function may include a verification such as “Are you sure you want to delete?” or similar.
  • Modify Macro 808 allows a user to change a macro's name, the macro's value, or both.
  • List Macros 810 lists all defined macros. The list may be filtered based on a particular user account, a particular group of users, a date range of creation, user request, or some other criteria. The list may be sorted by user, groups of users, date of creation, or some other criteria.
  • Search Macros 812 allows a user to enter a specific search term, string or characteristic, and returns a list of possible matches. For example, a user may wish to search for all financial macros defined for ACME Outerwear, or for macros created by the company's internal tools organization.
  • the Search Macro 812 function may search based on exact text or criteria matching of entered user input, and in some embodiments, the Search Macro 812 function may search based on user input entered in an imprecise syntax or natural language.
  • Such computer program instructions may control the operation of a computing device such as a desktop computer, a laptop computer, a tablet computer, a workstation, a server, a mainframe, a mobile phone (e.g., a smart phone), a telephone, a set top box, a PDA, a pager, a processing system of an electronic toy, a processing system of an electronic game, a processing system of a consumer electronics device, etc.
  • the computing device may have a processor and a memory in which the computer program instructions may be stored.
  • the processor is coupled to the memory and executes the computer program instructions.
  • the computer program instructions may be written in any high level language such as the programming language used with MATHEMATICA® software systems, C, C++, C#, Java or the like or any low-level assembly or machine language.
  • the computing device By storing computer program instructions in a memory of the computing device, the computing device is physically and/or structurally configured in accordance with the computer program instructions.
  • While many methods and systems have been described herein as being able to be implemented in software instructions executed by a processor, they may be implemented in hardware, firmware instructions executed by a processor, etc., and may be implemented by a variety of computing systems and devices. Thus, one or more of the method blocks and system blocks described herein may be implemented in a standard multi-purpose central processing unit (CPU), a special purpose CPU, or on specifically designed hardware or firmware such as an application-specific integrated circuit (ASIC) or other hard-wired device as desired.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • the software routine When implemented in software instructions executed by a processor, the software routine may be stored in any computer readable memory such as on a magnetic disk, a laser disk (such as a compact disk (CD), a digital versatile disk (DVD)), a flash memory, a memory card, a memory stick, etc., or other storage medium, in a RAM or ROM of a computer or processor included in a CPU or a special purpose CPU, in any database, etc.
  • this software may be delivered via any known or desired delivery method including, for example, on a computer readable memory or other transportable computer storage mechanism or over a communication channel such as a telephone line, the internet, etc. (which are viewed as being the same as or interchangeable with providing such software via a transportable storage medium).

Abstract

In a method of creating a natural language (NL) macro, a first term/phrase and a second term/phrase in an imprecise syntax are obtained, and an association between the first and the second terms/phrases is created. The association is stored as an NL macro. In a method of using an NL macro in an NL query, it is determined that an original NL query includes an NL macro, and the NL macro is replaced with its corresponding NL value to form a revised NL query. The revised NL query is processed to generate one or more answers.

Description

TECHNICAL FIELD
This disclosure generally relates to natural language processing, and more particularly, to systems that provide answers to natural language queries.
BACKGROUND
A user may input a query or an indication of a query into a natural language query answering application or system. The query may be in an imprecise syntax or natural language. For example, the user may desire to determine a formula, (e.g., a fact, rule, or principle expressed in scientific, mathematical, technical, etc., symbols), and may input a corresponding query into the natural language query answering system. The inputted indication may be in ASCII text, for example, and may include technical shorthand, technical abbreviations, pseudocode, etc. In response, the natural language query answering system may determine one or more formulas corresponding to the user's input. Optionally, other outputs related to the query may be generated. In another example, the user may enter a non-formulaic query, such as “What is the weather in Chicago, Ill.?” The natural language query answering system may determine one or more results, and the results and related output(s) are presented to the user.
SUMMARY
In one embodiment, a method of creating a natural language (NL) macro for a natural language query answering application or system includes obtaining a first term or phrase in an imprecise syntax, obtaining a second term or phrase in an imprecise syntax, generating an association between the first term/phrase and the second term/phrase, and storing the association as a natural language macro. In other embodiments, the method includes determining a suggested value of the second term or phrase, and providing macro management functions such as deleting, modifying, or searching for a particular natural language macro. In some embodiments, the natural language macro may expire when a user's session ends, or may persist across multiple sessions of a user.
In another embodiment, a method of using an natural language (NL) macro in a NL query includes receiving an original NL query, determining that the original NL query includes one or more NL macros, replacing the one or more NL macros with one or more corresponding NL values to form a revised NL query, processing the revised NL query to generate an answer, and providing an output corresponding to the generated answer. In another embodiment, the method may include accessing or processing at least a portion of a previously provided file or other data to generate at least a portion of the answer.
In yet another embodiment, a system for answering natural language queries includes a first portion configured to generate a natural language (NL) macro, a second portion configured to generate one or more answers to an NL query, and a third portion configured to detect the NL macro in an original NL query, replace the NL macro with its NL value to form a revised NL query, and provide the revised NL query to the second portion. In another embodiment, the first portion includes a macro manager and a macro database, the second portion includes a parser to generate one or more expressions and a system to generate one or more results based on the one or more expressions, and the third portion includes a macro recognizer. In another embodiment, the system includes a macro assistant configured to determine a suggested value of a NL macro.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of an example system in which methods and techniques described herein may be implemented;
FIG. 2 is an embodiment of a natural language query answering engine;
FIG. 3 is a flow diagram of an example method for providing one or more results to a user based on an input that is of an imprecise syntax or a natural language query;
FIG. 4 is a flow diagram of an example method for creating or defining a natural language macro;
FIGS. 5A and 5B illustrate an example of defining a natural language macro and using it in a query;
FIGS. 6A, 6B and 6C illustrate an example of defining a natural language macro based on a user-provided file or data, and using more than one natural language macro in a query;
FIGS. 7A, 7B and 7C an example of defining a natural language macro based on a query result; and
FIG. 8 depicts an embodiment of a user interface for managing natural language macros.
DETAILED DESCRIPTION
FIG. 1 is a high level block diagram of an example system 100 that processes natural language (NL) queries and generates answers (and, in some embodiments, information related to the answers) in response to the NL queries. The system 100 comprises an NL query answering system 104. In an embodiment, the NL query answering system 104 comprises a system the same as or similar to the system described in U.S. patent application Ser. No. 11/852,044, entitled “Methods and Systems for Determining a Formula,” and filed on Sep. 7, 2007, which is hereby incorporated by reference herein in its entirety. The system 100 also includes a client device 108 communicatively coupled to the NL query answering system 104 via a network 112. The client device transmits NL queries to the NL query answering system 104 via the network 112, and the NL query answering system 104, in response, transmits answers and, in some embodiments, information related to the answers to the client device 108 via the network 112. In some embodiments, the network 112 may be omitted and the client device 108 may be directly coupled to the NL query answering system 104.
As used herein, the term “natural language” refers to language in a natural or imprecise syntax, such as a human-readable language. Natural language or language using an imprecise syntax is in contrast to a typical computer programming language syntax, in which exact spelling, exact placement of punctuation, exact placement of parentheses, etc. is necessary to specify a particular formula or expression. Similarly, with typical computer programming language syntax, a slight change in punctuation, for example, could specify a completely different formula or expression, or could render a computer language statement meaningless to a compiler. On the other hand, with an imprecise syntax, a formula can be expressed using language and terms that may be readily understandable to a human, but unintelligible to a computer program such as a compiler. Additionally, with an imprecise syntax, many different variations of language and terms and groupings of language and terms may correspond to one formula. Of course, imprecise syntaxes are not limited to expressing only formulas, but may express any concepts that are conveyable by human-readable language.
Turning back to FIG. 1, the example NL query answering system 104 includes an NL query answering engine 116 coupled to a macro database 120. The NL query answering engine 116 processes NL queries from the client device 108 and generates answers and, in some embodiments, generates information related to the answers in response to the NL queries. The macro database 120 stores information regarding NL macros, where the NL macros are typically (but not necessarily) defined by a user. An NL macro is a first term or phrase that represents a second term or phrase, and wherein the second term or phrase is for use in an NL query to an NL query answering system. For example, a user may define an NL macro “My Location” to represent a term or phrase, such as “Chicago, Ill.” As used herein, the first term or phrase is referred to as “NL macro” or “macro,” and the second term or phrase which is represented by the NL macro is referred to as “NL macro value,” “macro value” or “value.”
The macro database 120 stores information regarding NL macros, such as a first term or phrase, the corresponding second term or phrase represented by the first term of phrase, and an indication of their association. The NL query answering engine 116, upon receiving an NL query, identifies NL macros in the NL query based on the information stored in the macro database 120, and replaces the NL macros with the corresponding macro values. Continuing with the example discussed above, if a query includes the phrase “My Location”, the NL query answering engine 116 replaces the phrase “My Location” in the query with the phrase “Chicago, Ill.”
Typically, a natural language macro is defined by a user. For example, a user may define a NL macro “my morning commute” to represent the natural language expression “I-90 from Arlington Heights, Ill. to downtown Chicago, Ill.”. Subsequent natural language queries may then incorporate the defined macro, e.g., “What is average commute time of my morning commute at 7:00 a.m.?” or “How much gas used for my morning commute?”
In some cases, the user may define an NL macro to reference a portion of an object or file that is stored and is accessible to an NL query answering engine. For example, suppose the user has stored, in a location accessible by the NL query answering engine 116, a spreadsheet identified in natural language as “ACME Outerwear Financials.” The user may define an NL macro “June 2009 Earnings” as “the second column of the ACME Outerwear Financials.” Subsequent natural language queries may incorporate the defined macro “June 2009 Earnings,” e.g., “Plot June 2009 Earnings,” or “What is sum of June 2009 Earnings?” Multiple NL macros may be included in a single query. In some cases, natural language macros may be nested, e.g., a new NL macro “Chicago June 2009 Earnings” may be defined to be “fourth row of June 2009 Earnings.”
The NL query answering system 104 may be configured and located to service a plurality of client devices. For example, the NL query answering system 104 may be implemented via a website that resides on a server or a group of networked computing devices such as a privately-networked group of computing devices, a peer-to-peer network, a computing cloud, or the like. The network 112 may be a private network, a public network such as the Internet, or some combination of private and public networks. Thus, although FIG. 1 illustrates one client device 108, in some embodiments there are a plurality of client devices 108.
In some embodiments, the NL query answering engine 116 may wholly reside on the client computing device 108, so that the client device 108 does not need to communicate with another device in order to perform natural language query answering. In some embodiments, a portion of the NL query answering engine 116 may reside on the client device 108, and another portion of the NL query answering system may be centrally located and accessible to multiple client devices. For example, a user interface portion of the NL query answering engine 116 may reside on the client computing device 108, and a query answering engine portion may be accessible via a server.
The macro database 120 may be a component or module residing on the same computing system as the NL query answering engine 116. Alternatively, the macro database 120 may be implemented on a computing system different from but communicatively coupled to the computing system that executes the NL query answering engine 116.
In another embodiment, the macro database 120 is included in the client device 108, and may include, for example, cookies and/or a database that is local to the client device. In this embodiment, the client device 108 identifies NL macros in an NL query and replaces the NL macros with the terms/phrases that the NL macros represent from the local macro database prior to transmitting the NL query to the NL query answering system 104. In other embodiments (not shown), a portion of the macro database 120 is included in the client device 108, and another portion of the macro database 120 is included in the NL query answering system 104.
In another embodiment, the client device 108 and the network 112 are omitted, and a user enters queries directly into the NL query answering system 104.
FIG. 2 is diagram of an example NL query answering engine 200, according an embodiment. The NL query answering engine 200 includes an input/output (I/O) process 202, a parser 210, one or more scanners 212 a-212 n, one or more post processors 215 a-215 n and an output module 218.
In the example NL query answering engine 200, the I/O process 202 includes an I/O interface 206 that receives user inputs or NL queries. The I/O interface 206 may provide elementary error and consistency checking, for example, by performing spell-checking or ensuring that at least some characters are present. In addition to receiving NL queries, the I/O interface 206 also renders output corresponding to evaluated NL queries, such as a result generated by the output module 218, a status notification, a warning or an error message.
The I/O process 202 includes an NL macro recognizer 208 communicatively coupled to the I/O interface 206 and to the NL macro database 120. The NL macro recognizer 208 operates on the NL queries received by the I/O interface 206 and identifies any defined NL macros that are included in the NL queries. The macro recognizer 208 may access the macro database 120 to interpret the identified NL macros, and based on the interpretation, may translate or expand the NL macros into a corresponding macro value. The macro recognizer 208 substitutes the appropriate natural language macro values for identified NL macros included in the NL query, and forwards the revised, interpreted NL query to the parser 210. Continuing with the example discussed with respect to FIG. 1, if an NL query “What is the average snowfall in December for My Location?” is received by the I/O process 202, the revised, interpreted NL query “What is the average snowfall in December for Chicago, Ill.?” is delivered to the parser 210. NL queries that do not include any NL macros as identified by the macro recognizer 208 may simply be delivered to the parser 210 in their original form.
The parser 210 is a natural language parser, such as the natural language parser described in U.S. patent application Ser. No. 11/852,044. The parser 210 is configured to parse both original NL queries and interpreted NL queries in which NL macros have been replaced with NL macro values. The parser 210 examines the received NL query (whether original or interpreted) to extract keywords, group words into phrases, identify numerical expressions, categorize data, etc. The parser 210 may perform an initial go/no go analysis on the keywords, phrases, or numerical expressions to determine if there is enough information to proceed to a further step. When there is not enough information to make even a cursory pass at further analysis, the parser 210 may cause the user to be prompted, via the I/O interface 206, for additional information such as information that may clarify the information desired by the user. Alternatively, the I/O interface 206 may return the input unchanged along with a message that it cannot interpret the input, and/or that the input does not correspond to any defined macros.
In one implementation, the parser 210 may take an initial input and create tokens, and then assemble the tokens into one or more expressions in a precise syntax. In other words, the parser 210 may generally take input data in an imprecise syntax and generate expressions in a precise syntax. As an example, if a user enters the text “sin [x]<0.5”, the parser 210 may create a plurality of tokens: “sin”, “[x]”, “<”, and “0.5”, where “sin” is recognized as a function name, “[x]” is recognized as a variable name, “<” is recognized as an inequality, and “0.5” is recognized as a real number. Then, the parser 210 may generate an expression in a precise syntax using these tokens.
Optionally, the parser 210 may perform additional or alternative processing. For example, the parser may attempt to identify phrases. Additionally, the parser 210 may attempt to rearrange tokens to see if the rearrangements match something that the parser 210 understands, such as a phrase. For instance, the parser 210 may utilize algorithmic rearrangements of the input. Also, the parser 210 may cause the user to be prompted to rephrase the input. Then, the parser 210 may analyze the original input in conjunction with the rephrased input. Further, the parser 210 may utilize machine learning techniques to identify language processing algorithms that work better than others. For example, for a user input query of “population Naples,” the parser 210 may determine that the phrase “Naples” is a city, then determine whether the city is Naples, Italy or Naples, Fla., USA. The parser 210 may additionally determine that phrase “population” may mean “current population,” “historical population,” or “metro-area population.”
The one or more expressions generated by the parser 210 may be provided to one or more scanners 212 a, 212 b, and 212 n that may each have a particular focus. For example, scanner A 212 a may be directed to developing a graphical plot for numerical expressions or phrases parsed from the input that can be reduced to a plot. As an example, if an input includes an expression, such as x2, scanner A 212 a may develop and output a plot of x2 (i.e., a parabola). As another example, if the expression is Sin [x]<0.5, scanner A 212 a may develop and output a plot of values of x that satisfy this expression. Other scanners may have other specific specializations, such as evaluating equations, determining roots, evaluating integrals, evaluating derivatives, determining relevant transforms, etc. Other specializations may include, for example, determining mathematical formulas, determining chemical formulas, determining physics formulas, determining financial formulas, determining engineering formulas, determining medical formulas, etc.
Still another specialization may include determining appropriate software programming language code (e.g., generating software programming language code). For instance, a scanner could receive data indicating a mathematical expression and generate software programming language code for evaluating the expression. As an example, a keyword or an expression related to ballistics may cause the scanner to generate software programming code for modeling the height of a projectile and code for modeling the distance of a projectile. In another example, input related to airflow over a wing may return code for modeling turbulent fluid flow over a surface or code for modeling lift and drag in a wing, or both.
Depending upon the application, more or less scanners may be utilized. For instance, if an application is to be devoted for use in a financial field, scanners related to chemical formulas may be omitted.
Some scanners may generate results based on a database query. For example, a scanner related to geometry formulas may query a database for keywords “area” and “triangle” for formulas related to those terms. As another example, a scanner may query a database for raw data needed to evaluate an expression. For instance, an expression may include c, the speed of light, and a scanner may query a database to retrieve a numerical value for c. As another example, an expression may require statistical data, such as a population of a particular city, state, or country needed to evaluate a “per capita” expression, and the scanner may query a statistical database to obtain the needed data. In yet another example, an expression may require real-time data such as “traffic congestion,” and a scanner may query an appropriate database to obtain the desired real-time data.
Other scanners may generate results by synthesizing outputs. For example, a scanner for generating indefinite integrals may receive a mathematical expression and synthesize the indefinite integral of that expression, rather than searching a database of pre-generated indefinite integrals. Some scanners may be capable of doing database queries as well as synthesis of results. For example, the scanner related to geometry formulas may generate an expression for the area of a triangle based on a database query, but may also synthesize another expression by integrating parameter values into formulas retrieved from a database. In another example, a scanner querying data for the historical population of Naples, Italy over time may query for discrete population data points year by year, and may also synthesize the discrete data points into a graphical plot for display.
In addition to receiving data from the parser 210, each scanner may share results with each of the other scanners. Again, results generated by a scanner based on the shared results may also be shared with each of the other scanners, and so on. This process may continue until the scanners no longer have additional data to add, for example. Trivial transforms may also be recognized and blocked. When each scanner has contributed to both the original input from the parser 210 and shared input from all the other scanners, the results from each scanner to respective postprocessors 215 a, 215 b, and 215 n. The postprocessors 215 a, 215 b, and 215 n evaluate the results and may provide a ranking of each result by assigning a value (e.g., a percentage) to each result.
The ranked results may be passed to an output module 218 which may generate an output having the results with rankings above a certain threshold, while omitting results below the threshold. The threshold may be set at a predetermined level, or may be adjusted according to the number of results and a statistical analysis of the rankings. For example, a query that produces ten thousand results may adjust the threshold to a 99% relevance, thereby limiting the displayed results to the top 100. In another example though, where perhaps only a half a dozen results are returned, all the results may be displayed even though the rankings may be relatively low. The output of the output module 218 may comprise a web page, a window, or a portion of a display, etc., having one or more formulas, graphs, graphics, text or output in other formats. Typically, but not necessarily, the output generated by the output module 218 is presented by the I/O interface 206 at which the original NL query was received.
Particularly in a Web Services or comparable environment, scanners may be added or reconfigured based on user needs. For instance, feedback from users or an analysis of user queries may be utilized to add a scanner devoted to a new field (e.g., organic chemistry) or to add further formula data to an existing scanner. Similarly, scanners may be omitted or removed.
FIG. 2 illustrates the NL macro recognizer 208 as being included in the I/O process 202. In some embodiments, however, the macro recognizer 208 may not be part of the I/O process 202. For example, the macro recognizer 208 may be included in the parser 210 or some other component of the NL query answering engine 200. In some embodiments, the macro recognizer 208 may be a stand-alone executable application, an added feature or subsystem of a larger application separate from either the I/O process 202 or the NL query answering engine 200, or an applet accessed via a website, for example. Further, the macro recognizer 208 may also be implemented as a Web service with a Web browser implementing the user interface in a known manner.
In some embodiments, some portion or all of the I/O process 202 may be included at a client device, such as the client device 108 of FIG. 1. In some embodiments, some portion or all of the I/O process 202 may be included with the NL query answering system (e.g., the NL query answering system 104 of FIG. 1) at a centrally available device or group of devices, such as a server, a group of networked computing devices, a peer-to-peer network, a cloud computing network, or other centrally available device or group of devices.
The I/O process 202 or some portion thereof, or the NL query answering engine 200 or some portion thereof may be a stand-alone executable application with its own user interface. In some embodiments, the I/O process 202 or the NL query answering engine 200 could be an added feature or subsystem of a larger application such as a computational application (e.g., the MATHEMATICA® software system, a spreadsheet application, etc.). For example, the NL query answering engine 200 could be part of a “help” subsystem within a larger application. Additionally, the some or all of the embodiment 200 could be an applet accessed via a website, for example. Further, some or all of the embodiment 200 may also be implemented as a Web service with a Web browser implementing the user interface in a known manner. For example, the I/O process 202 could be browser plug-in or toolbar system.
The natural language query answering engine 200 of FIG. 2 may include a macro manager 220 and/or a macro assistant 225, each of which may be coupled to the I/O interface 206 and to the macro database 120, and, in some embodiments, may also be coupled to each other. Similar to the NL macro recognizer 208, the macro manager 220 and/or the macro assistant 225 may or may not be included in the I/O process 202. In some embodiments, the macro manager 220 and/or the macro assistant 225 may be included in the parser 210 or some other component of the NL query answering engine 200. In some embodiments, the macro manager 220 and/or the macro assistant 225 may each be a stand-alone executable application, an added feature or subsystem of a larger application separate from either the I/O process 202 or the NL query answering engine 200, or an applet accessed via a website, for example. Further, the macro manager 220 and/or the macro assistant 225 may also each be implemented as a Web service with a Web browser implementing the user interface in a known manner. Further details of the macro manager 220 and the macro assistant 225 are provided subsequently.
FIG. 3 is a flow diagram of an example method 300 for providing one or more results to a user based on an input that is an NL query or of imprecise syntax. The method 300 will be described with reference to FIG. 2 for ease of explanation. It will be understood, however, that the method 300 may be utilized with systems other than the NL query answering engine 200, and that the NL query answering engine 200 may implement methods other than the method 300.
A natural language query or input of an imprecise syntax may be received at block 302. At block 304, the method 300 determines whether or not any natural language macros are included in the received NL query. If, at the block 304, the NL query is identified as including one or more NL macros, block 308 substitutes corresponding values for the identified NL macros into the originally received NL query to form a revised NL query. For example, the I/O interface 206 of FIG. 2 may receive the original NL query, and the macro recognizer 208 may identify any NL macros therein, access the macro database 120 to obtain corresponding macro values, create a revised NL query where any NL macros are replaced with their corresponding values, and make the revised NL query available to the parser 210.
If, at the block 304, no NL macros are identified as being included the original NL query, the original NL query is made available to the parser 210, e.g., the method 300 may proceed from the block 304 directly to block 310.
The NL query (whether original or revised) is parsed at the block 310. For example, the NL query may be analyzed to create data in a formal or precise syntax. When the parser 210 is able to determine a sufficient amount of data to proceed, a “yes” branch from a block 312 may be taken to a block 315. At the block 315, the parsed data (e.g., the output of the parser 210) is distributed to each of the plurality of scanners 212 a, . . . , 212 n. As described above, each scanner may examine the output of the parser 210 at the block 315 for areas of specific capability with respect to that scanner. When a scanner identifies data it can process, the scanner creates output specific to the input and then, at a block 318, the scanner may share its output with each of the other scanners. For example, the scanner 212 a may create a mathematical expression and that mathematical expression may be delivered to scanners 212 b and 212 n. Scanners 212 b and 212 n may be able to synthesize output based on the expression from scanner 212 a that they were not able to process from the input directly received from the parser 210. When each scanner can no longer synthesize meaningful output, the results are passed to the output module 218 at a block 320.
At the block 320, each output is ranked in terms of relevance. Output elements of low relevance optionally may be discarded. At a block 325, output elements that were not discarded at the block 320 are presented to the user, such as via the I/O interface 206. Output elements may be presented in rank order, or in the case of more common output elements, in a standard presentation format.
When the parser 210 cannot process the original or revised NL query, the “no” branch from the block 312 may be taken to block 328 and the user may be prompted for more information, e.g., via the I/O interface 206. Alternatively, the user may be prompted that the original NL query cannot be interpreted and the flow may return to the block 302 to receive a next input.
FIG. 4 is a flow diagram of an example method 400 for creating or defining a natural language macro. The method 400 will be described with reference to FIGS. 1 and 2 for ease of explanation. In an exemplary embodiment, the method 400 may be primarily performed by the macro manager 220 of the NL query answering engine 200, but also in conjunction with the I/O interface 206 and the macro database 120 as appropriate. It will be understood, however, that the method 400 may be utilized with and performed by systems other than the system 100 of FIG. 1 and the natural language query answering engine 200 of FIG. 2.
At block 402, a desired NL macro name is obtained. The desired macro name may be obtained, for example, from user input received at the I/O interface 206, or the desired macro name may be obtained from a received message or from a file. For example, if a user desires to define numerous macros, instead of manually inputting one macro definition at a time, he or she may provide a file from which the I/O interface 206 may obtain the input data for the numerous macros.
At block 405, a corresponding desired NL macro value is obtained. The desired NL macro value may be obtained, for example, from user input received at the I/O interface 206, or may be obtained from the same or a different received message or file as accessed for the NL macro name.
In some embodiments, obtaining the desired NL macro value 405 includes an optional step of performing macro assistance 406. In an example, the macro assistant 225 of FIG. 2 may primarily execute the step of performing macro assistance 406, but also in conjunction with the I/O interface 206, the macro manager 220, and the macro database 120, as needed.
Typically, performing macro assistance 406 includes suggesting a possible NL macro based on at least the NL macro name or first term or phrase obtained at the block 402. For example, if a desired NL macro name of “My Location” is obtained at the block 402, performing macro assistance 406 may include recognizing that the text “my location” is referring to a location and making an assumption that the text is referring to the user's current location. Then, performing macro assistance 406 may include determining a current location of the user via an IP address, cell towers, GPS information, or other information corresponding to a device at which the I/O interface 206 is displayed, or from which a user has entered the desired NL macro value. The current location may be displayed on the I/O interface 206 as a suggested NL macro value, and upon receiving an acceptance indication from the user, the method 400 may use the suggested NL macro value as obtained desired NL value and proceed to block 408.
More generally, performing macro assistance 406 may include recognizing and analyzing words, terms, phrases or other input in the desired NL macro name obtained at the block 402 from the present execution of the method 400, and in some cases, from one or more previous executions of the method 400. In some embodiments, the analysis may be additionally or alternatively based on, for example, one or more user preferences, user actions or activities, previously stored macros, previously received first and/or second terms or phrases, or other types of data that the NL query answering engine 200 has obtained or has deduced. Based on the analysis of the NL macro name, performing macro assistance 406 may include providing one or more suggested NL values. Upon receiving an indication of acceptance or upon receiving a selection of a particular suggested value by the user, the method 400 may accept the suggested value as the obtained desired NL value, and may proceed to the block 408.
In some embodiments, performing macro assistance 406 is executed prior to the block 402. For example, the NL query answering engine 200 may detect that a user has repeatedly used a same phrase in several previous NL queries (such as at the block 302 and/or at the block 310 during execution of the method 300), and based on the detection, the NL query answering engine 200 may perform macro assistance 405 by bringing the repeatedly-used phrase to the user's attention, and asking the user if he or she desires to create a macro for the repeatedly-used phrase. Upon receiving a positive acknowledgement, the block 402 may obtain a desired macro name (e.g., from the user) corresponding to the repeated phrase, and the remainder of the method 400 may be executed to define the suggested macro. In this scenario, however, the desired macro value need not be newly obtained at the block 405, as the desired macro value is effectively the identified, repeatedly-used phrase. Upon completing the definition of the suggested macro (block 415), flow may return back to the method 300 to continue with processing the query.
In some embodiments, performing macro assistance 406 may occur based on NL queries of more than one user. For example, in a company, if different users repeatedly use a same phrase across multiple NL queries, performing macro assistance 406 may include notifying a system administrator and asking if he or she wishes to define a new macro for the repeated phrase for use company-wide or for use by a select group of users.
At block 408, the desired NL macro name and its desired value may be analyzed for any potential errors. A potential error may include a mismatch in contexts, such as when a desired NL name is entered as “location” and the desired valued is entered as “polka dots.” In one embodiment, the NL query answering engine 200 is configured to determine potential meanings or senses of words, phrases, and/or groups of textual characters. In this embodiment, the macro manager 220 may be configured to detect mismatches between meanings of NL macro names and NL macro values. For example, a NL macro name with the term “location” may be determined to refer to a physical location. The macro manager 220 may then detect when the NL macro value does not apparently correspond to a physical location. For example, the macro manager 220 may determine that the phrase “polka dots” does not appear to correspond to a physical location, while the phrase “Chicago, Ill.” does appear to correspond to a physical location. Other potential errors may include a macro name and/or macro value that already exists in the macro database 120, a misspelling, a confusing homonym or homophone (e.g. does “bank” refer to a lending institution, a side of a river or a kind of a pool shot?) or other potential errors. If potential errors are identified at the block 408, one or more warnings or notifications may be displayed 410.
In response to potential error notification 410, if an indication is received at block 412 that corresponds to a user's desire to fix one or more of the potential errors, the method 400 returns to the block 402 or the block 405, as appropriate. If an indication is received at the block 412 that corresponds to a desire to ignore the potential errors, or if no potential errors are detected at the block 408, block 415 may store the defined macro and its value into a macro database, such as macro database 120.
In some embodiments, the macro stored at the block 415 may be persistent. For example, if a user logs in and creates the macro under an account, the stored macro may be stored in a macro database along with an indication of the corresponding account. When the user logs out, the macro may remain stored so that the user is able access the macro at a later time, such as via the method 200. In some embodiments, persistent macros may be stored at the block 415 for access by more than one user, such as when a system administrator defines a macro for use by a working group or across a company.
In some embodiments, the macro stored at the block 415 may be transient and not persistent. In these embodiments, the user is not required to log in or otherwise be authenticated in order to create macros, nor are the macros stored persistently in conjunction with an account. Instead, any transient macro created by the method 400 may exist while the user's corresponding session is open and be temporarily stored at the block 415, but after the user closes the session or the session is otherwise terminated, the created macro may be lost.
In some embodiments, the method 400 may be entirely performed by the natural language query answering system 104. In some embodiments, the method 400 may be entirely performed by a client device 108. In some embodiments, a first portion of the method 400 may be performed at the NL query answering system 104, and another portion may be performed by one or more client devices 108.
FIGS. 5A-7C depict different screen shots of natural language macro creation and usage. The illustrative context for FIGS. 5A-7C is the usage of natural language macros by employees of an outerwear company named “ACME Outerwear,” but of course, the principles and techniques demonstrated by the screen shots of FIGS. 5A-7C may easily be applied to any context were natural language macros are desired or used. Each of FIGS. 5A-7C may be displayed in conjunction with the systems and methods disclosed herein, or may be displayed in conjunction with systems and/or methods other than those disclosed herein. Of course, the systems and/or methods of the present disclosure may produce screen shots other than those shown in FIGS. 5A-7C. For clarity, some of the descriptions for the screen shots in FIGS. 5A-7C refer to references in FIGS. 1, 2, 3 and 4.
FIG. 5A shows a screen shot 500 that illustrates defining a natural language macro. At a first prompt 502, the user has entered a desired natural language macro name “target market” 505, and at a second prompt 508, the user has entered a corresponding NL value “France” 510. Upon selection of the “Save macro” user control 512, the macro “target market” and its corresponding value “France” are stored. In an example, the screen shot 500 may be displayed using the I/O interface 206 of FIG. 2, the inputs 505 and 510 may be received by the I/O interface 206 and passed to the macro manager 220, the macro manager 220 may create an association between input 505 and input 510 so that input 505 may represent input 510 in NL queries, and the macro manager 220 may store the created macro in the macro database 120 upon an activation of the Save Macro” user control 512 that is detected at the I/O interface 206.
In some embodiments, an acknowledgement of a successful creation of the macro may be provided to the user, or, when appropriate (such as at the block 410 of FIG. 4), an indication of an unsuccessful creation or of one or more potential errors may be provided to the user.
Screen 500 may be displayed per user request, such as when a user selects a command to create a macro on a drop-down menu, when the user enters a textual command to create a macro, or when the user selects a corresponding “macro creation” icon on a tool bar or other screen location. Screen 500 may be a pop-up window, a separate screen, or a portion of an existing window on the display. In some embodiments, such as when a display is small (e.g., on a mobile device or cell phone), all of the display elements 502-512 may not be simultaneously visible on the display. Of course, the exact wording of prompts 502, 508 and 512 may differ from the wordings of screen 500, but may still convey a similar meaning, e.g., “New macro name:” for reference 502, “What value should I assign to [entered new macro name]?” for reference 508, or “Save?” for reference 512. Also, as both the macro name 505 and its value 510 are of natural language, a precise syntax for the user inputs 505 and 510 is not required. In fact, the user may input the macro name 505 and/or the macro value 510 using an imprecise syntax, different imprecise syntaxes, a combination of precise and imprecise syntaxes, or any desired syntax, for that matter.
FIG. 5B illustrates a screen shot 520 that utilizes the macro “target market” created by the screen shot 500 of FIG. 5A. In response to a prompt 522, the user has entered “target market population” as a desired NL query 525. Upon activation of a user control 528, the NL query answering system 104 may respond with an input interpretation 530. In the embodiment illustrated by FIG. 5B, the input interpretation response 530 provides a revised interpretation 530 of the user input 525. Specifically, in this example, the input interpretation “France population” 530 shows that the macro “target market” included the original user input 525 has been replaced with its corresponding value “France.” In some embodiments, the input interpretation 530 may provide the interpreted query input 525 without showing macro expansion, and in some embodiments both the user input with and without macro expansion may be provided by the input interpretation field 530.
The results and related information pertaining to the NL query “target market population” 525 (including therein the macro “target market”) are displayed on the remainder of the user interface. In FIG. 5B, a numerical result 532, a recent graph of population history 535, a long-term graph of population history 538, demographic information 540, and a comparison to the world population 542 are provided. Of course, the format and content of the results 532-542 are exemplary only. In some embodiments, for the NL query “target market population” 525, a different set or combination of result contents using different formats may be provided. In fact, any format, number, or set of results pertaining to one or more answers to the natural language query may be displayed or presented.
The user interface may provide one or more user controls 545 a-545 h to manipulate the results and/or to provide additional data. For example, controls 545 a, 545 c, 545 e and 545 f each may be selected to show additional data related to the target market population. Controls 545 b, 545 d, 545 g and 545 h each may be selected to modify a format or display of the results. Other controls (not shown) may be additionally or alternatively included with the results of the NL query.
FIG. 6A depicts a screen shot 600 illustrating a definition of a natural language macro that references portions of a previously stored file that is accessible to the NL query answering system 104. At a first prompt 602, a user has entered a desired natural language macro name “First Year” 605, and at a second prompt 608, the user has entered a corresponding desired NL value “D3 to D36 of ACME Outerwear Financials” 610. In the illustrative context of FIG. 6A, “First Year” refers to a period of time, i.e., May of 2009 through May of 2010, and “ACME Outerwear Financials” is a company spreadsheet depicted in FIG. 6B as spreadsheet 620. FIGS. 6A and 6B are concurrently discussed for clarity.
In screen shot 600, the NL query answering engine 200 (and in some embodiments, the parser 210 of the NL query answering engine 200 in particular) understands the natural language text string “ACME Outerwear Financials” to refer to the company spreadsheet file 620. The company spreadsheet file 620 has been previously provided and stored, and is locally or remotely accessible to the NL query answering engine 200. In some embodiments, the spreadsheet file 620 may have been stored as part of the NL query answering system 104 (e.g., the file 620 may have been uploaded to the NL query answering system 104). In other embodiments, the spreadsheet file 620 may have been stored external to the NL query answering system 104, but still may be accessible to the NL query answering system 104 (e.g., the spreadsheet file 620 may have been stored at the client device 108, at some other location accessible via the network 112, or at some other location that is directly accessible by the NL query answering system 104 without traversing the network 112). In some scenarios, the file 620 may have been stored for access by only a particular user (e.g., stored in conjunction with a particular user's account), or the file may have been stored by a system administrator for access by a group of approved users. Typically, but not necessarily, the provided file 620 is accessible by a select group of one or more users, but is not publically or generally available. Of course, although the file in this example is a spreadsheet file, any type of provided file or provided data may be stored and accessed in conjunction with the systems and methods of the present disclosure. Any known mechanism for accessing information from a file or from data may be used in conjunction with this disclosure, including a database read, a function call, a message exchange, an operating system primitive, a read/write to a common location, a crawl such as a web crawl, a feed ingestion, or any other similar mechanism.
The NL query answering engine 200 (and in some embodiments, the parser 210 of the NL query answering engine 200 in particular) understands the natural language text string “D3 to D36 of ACME Outerwear Financials” to mean “cells D3 through D36 of the ACME Outerwear Financials spreadsheet.” These cells and their corresponding cell values are linked to the macro name “First Year,” and an indication of the association is stored in the macro database 120 upon user activation of user control “Save macro” 612 or equivalent. In some embodiments, not only is an indication of the cells D3-D36 stored, but some portion or all of the information in rows 3-36 corresponding to the cells D3 through D36 of the spreadsheet 620 (or indications thereof) may be stored in conjunction with the macro.
In some embodiments, the NL query answering engine 200 may not require particular cells of spreadsheet 620 to be named in the field 610. In an example, the user may input text into the field 610, e.g., “May 2009 through May 2010 of ACME Outerwear Financials.” Based on the user input, the NL query answering engine 200 may process some relevant data within the provided file 620. For instance, the NL query answering engine 200 may determine that column D of the ACME Outerwear Financials spreadsheet 620 pertains to dates, and then may proceed to filter cells in Column D and/or their corresponding rows based on the values of column D that are determined to be included in “May 2009 through May 2010.” An acknowledgement of a successful creation of the macro may be provided to the user, or an indication of an unsuccessful creation or of one or more potential errors may be provided to the user, if appropriate.
Screen shots 500 and 600 also illustrate the usage of imprecise syntax in user inputs 605 and 610. In particular, note that the user may or may not use capitalization (e.g., no capitalization in desired macro name 505 but capitalization is included in desired macro name 605), and the user may combine precise and imprecise syntaxes (e.g., “D3:D36 of ACME Outerwear Financials” in reference 610 uses both spreadsheet syntax and imprecise syntax). Of course, in addition to these examples of imprecise syntax, any other imprecise syntax may be used in either NL macro definition or NL value definition, including punctuation or lack thereof, abbreviations, underscores or other special characters, etc. Moreover, the imprecise syntaxes used in the fields 605 and 610 need not be the same imprecise syntax.
FIG. 6C is a screen shot 630 that illustrates the use of more than one macro in a single NL query. In screen shot 630, a user enters an NL query “Target market's temperature during First Year” 632. Both the macro “target market” defined in FIG. 5A and the macro “First Year” defined in FIG. 6A are used in the query 632. As the NL query answering system 104 does not require a precise syntax, note that the NL query answering engine 200 is understands both “target market” and “Target market's” to be “France”. Also note that due to the natural language query answering system's ability to process imprecise syntax, the user may enter into field 632 text strings of different syntaxes to query for the same information, such as “First year target market temp” or “temperature of target market throughout the first year” instead of the text shown in the field 632.
Similar to FIG. 5B, upon user selection of a control 633, the natural language query answering system 200 may display an input interpretation 635 and one or more corresponding results 638-645. The input interpretation 635 of FIG. 5B illustrates the macro “Target market's” expanded to “France,” and the macro “First Year” expanded to “May 2009 to May 2010.” Accordingly, each of the presented results 638-645 is limited to temperature between May 2009 and May 2010. Also similar to FIG. 5B, one or more user controls 648 a-648 j may be included for selection to show additional information (e.g., 648 c, 648 e, 648 f, 648 i) or to show the results in a different format (e.g., 648 a, 648 b, 648 d, 648 g, 648 h, 648 j).
FIGS. 7A-7C are examples of natural language macros used by ACME Outerwear that reference the spreadsheet 620 of FIG. 6B. FIG. 7A illustrates a screen shot 700 that depicts defining a natural language macro to identify salespeople who work out of a particular office. At a first prompt 702, the user has entered a desired natural language macro name “Chicago office” 705, and at a second prompt 708, the user has entered a corresponding desired NL value “B7, B10, B17, B19-B20, B22, B27, B30, B33 of ACME Outerwear Financials” 710 to identify the salespeople A. Smith, B. Jones and C. Wilson. In this example, exact cell identifiers of the spreadsheet 620 are input by the user in the field 710. In other embodiments, instead of indicating exact cell identifiers, the user may use imprecise syntax that indicates a screening or filtering of information in the spreadsheet 620, e.g., “cells in column B of ACME Outerwear Financials whose contents equal Chicago.” Upon selection of a user control 712 or equivalent, the macro “Chicago office” may be stored along with an indication of cells B7, B10, B17, B19-B20, B22, B27, B30, B33 and/or some or all of the contents of their corresponding rows, such as names “A. Smith, B. Jones, C. Wilson.”
Similar to the screen shot 600 where the NL query answering engine 200 understands the natural language text string “ACME Outerwear Financials” to refer to a spreadsheet file 620, the NL query answering engine 200 (and in some embodiments, the parser 210 of the NL query answering engine 200 in particular) of the screen shot 720 refers to the ACME Outerwear file 620 of FIG. 6B that has been previously stored and is locally or remotely accessible to the NL query answering engine 200.
FIG. 7B illustrates a screen shot 720 that depicts a natural language query using all three of the aforementioned example NL macro and references the previously stored user data “ACME Outerwear Financials” 620. At a user prompt 725, the user has entered an NL query “What portion of sales in the target market during the First Year is attributable to the Chicago Office?” 728 or some other text string of imprecise syntax that conveys a similar meaning. The user has selected user control 730 to obtain an answer to the query 728. In this example, the NL query answering engine 200 (and in some embodiments, the macro recognizer 208 in particular) has replaced each macro with its value to form a revised query that is summarized in the input interpretation 732. However, similar to FIGS. 5B and 6B, in some embodiments, an interpretation of the input 728 without macro substitution may be displayed in the field 732, and in some embodiments, both interpretations with and without macro substitution may be simultaneously displayed in the field 732.
The revised user input may be processed by the natural language query answering engine 200 to determine one or more results. In some cases, the NL query answering engine may process a portion or all of information in the provided file 620 or provided data in order to determine the one or more results. In some cases, the NL query answering engine may process a portion or all of the information in the provided file 620 or data as well as process or access other information (e.g., publically or generally available information, other provided files, user history, etc.) to determine the one or more results.
In FIG. 7B, the results 735 are displayed in three different formats (738 a, 738 b and 738 c), but, of course, this is only illustrative and any number of results in any number of formats may be displayed. In screen 720, a numerical result 738 a is displayed, a pie chart of overall sales 738 b is displayed, and a graph showing per office sales from May, 2009 through May 2010 (reference 738 c) is displayed. To generate the results 738 a-738 c, the NL query answering engine 200 (and in some embodiments, the parser 210 in particular) has accessed the macro database 120 and the ACME Outerwear Financials spreadsheet 620 to gather data, and the scanners 212 a-212 n have operated on the parsed data accordingly to produce the output 738 a-738 b.
FIG. 7B illustrates an additional user control 740 that enables the user to save an NL query as a new NL macro. Upon activation of the user control 740, the screen shot 750 of equivalent of FIG. 7C may be presented. The NL query that was entered at reference 728 of FIG. 7B is presented in the field 752 in an exact or (as shown in FIG. 7C) a modified form, and identified accordingly 755 as the desired new macro value. At a user prompt 760, the user has input a desired NL macro name “Fr-Chioffice y1 sales” (reference 762), and may select user control 765 “Save macro” to save the association between the macro name 762 and the macro value 752. Accordingly, a future query that includes the macro “Fr-Chioffice y1 sales” will automatically utilize some or all of the results 738 a-738 c from FIG. 7B in a format that is suitable for to be used in an answer to the future query.
While the “Save macro” user control 740 of FIG. 7B is illustrated as a selectable button on a screen, the user may also define macro from a query result via other user control mechanisms, such as via an icon, a drop-down menu, a drag-and-drop (e.g., dragging the query 728 or the result 735 onto a macro creation icon or similar).
FIG. 8 illustrates a user interface 800 that allows users to manage macros. The user interface 800 may operate in conjunction with the methods and systems described herein. In an exemplary embodiment, the user interface 800 may be included in the I/O interface 206 of FIG. 2, and the macro manager 220 of the I/O interface 206 may operate on input received at the macro management user interface 800. The user interface 800 may be displayed as a pop-up window, on a tool bar, in a separate window, as a portion of an existing window, or some other display mechanism, however, in other embodiments (not shown), the user interface 800 may take other forms such as a drop down menu, icons, or direct in-line user commands.
User interface 800 includes one or more selectable options for managing macros, such as Add Macro 802, Delete Macro 805, Modify Macro 808, List Macros 810, Search Macros 812, and other macro management functions 815. Upon a selection of any of the options 802-815, the macro manager 200 of FIG. 2 may perform the corresponding macro management function at least in part by reading, writing, or otherwise accessing the macro database 120.
When one of the management functions 802-815 is selected, a separate screen, pop-up window or other user interface may be presented to obtain input needed to perform the selected function. For example, if the user selects Add Macro 802, a screen such as the screen 500 or the screen 600 may be displayed, and the user may enter input therein to define or add a new macro. Similarly, the Delete Macro 805 allows a user to invalidate a previously defined macro or remove it from the macro database 120. In some cases, a Delete Macro 805 function may include a verification such as “Are you sure you want to delete?” or similar. Modify Macro 808 allows a user to change a macro's name, the macro's value, or both.
List Macros 810 lists all defined macros. The list may be filtered based on a particular user account, a particular group of users, a date range of creation, user request, or some other criteria. The list may be sorted by user, groups of users, date of creation, or some other criteria. Search Macros 812 allows a user to enter a specific search term, string or characteristic, and returns a list of possible matches. For example, a user may wish to search for all financial macros defined for ACME Outerwear, or for macros created by the company's internal tools organization. In some embodiments, the Search Macro 812 function may search based on exact text or criteria matching of entered user input, and in some embodiments, the Search Macro 812 function may search based on user input entered in an imprecise syntax or natural language.
Any of the techniques described above, including the blocks described with reference to FIGS. 1-8, may be implemented using a processor that executes machine readable software or firmware instructions. Such computer program instructions may control the operation of a computing device such as a desktop computer, a laptop computer, a tablet computer, a workstation, a server, a mainframe, a mobile phone (e.g., a smart phone), a telephone, a set top box, a PDA, a pager, a processing system of an electronic toy, a processing system of an electronic game, a processing system of a consumer electronics device, etc. The computing device may have a processor and a memory in which the computer program instructions may be stored. The processor is coupled to the memory and executes the computer program instructions. The computer program instructions may be written in any high level language such as the programming language used with MATHEMATICA® software systems, C, C++, C#, Java or the like or any low-level assembly or machine language. By storing computer program instructions in a memory of the computing device, the computing device is physically and/or structurally configured in accordance with the computer program instructions.
While many methods and systems have been described herein as being able to be implemented in software instructions executed by a processor, they may be implemented in hardware, firmware instructions executed by a processor, etc., and may be implemented by a variety of computing systems and devices. Thus, one or more of the method blocks and system blocks described herein may be implemented in a standard multi-purpose central processing unit (CPU), a special purpose CPU, or on specifically designed hardware or firmware such as an application-specific integrated circuit (ASIC) or other hard-wired device as desired. When implemented in software instructions executed by a processor, the software routine may be stored in any computer readable memory such as on a magnetic disk, a laser disk (such as a compact disk (CD), a digital versatile disk (DVD)), a flash memory, a memory card, a memory stick, etc., or other storage medium, in a RAM or ROM of a computer or processor included in a CPU or a special purpose CPU, in any database, etc. Likewise, this software may be delivered via any known or desired delivery method including, for example, on a computer readable memory or other transportable computer storage mechanism or over a communication channel such as a telephone line, the internet, etc. (which are viewed as being the same as or interchangeable with providing such software via a transportable storage medium).
The present disclosure has been described with reference to specific examples, which are intended to be illustrative only and not to be limiting. It will be apparent to those of ordinary skill in the art that changes, additions or deletions may be made to the disclosed examples without departing from the spirit and scope of the disclosure.

Claims (7)

What is claimed is:
1. A system for answering natural language (NL) queries, comprising:
one or more memories of one or more computing devices, one or more memories storing machine readable instructions, and the machine readable instructions including:
a first portion that, when executed by one or more processors, causes the system to:
generate an association between a first term or phrase in an imprecise syntax and a second term or phrase in an imprecise syntax,
store an indication of the association as a natural language (NL) macro, and
determine whether a mismatch between a context of the first term or phrase and a context of the second term or phrase exists, including:
determining a meaning of the second term or phrase,
comparing i) the meaning of the second term or phrase with ii) a meaning of the first term or phrase, and
determining whether a mismatch exists based on the act of comparing;
a second portion that, when executed by the one or more processors, causes the system to generate one or more answers to NL queries; and
a third portion that, when executed by the one or more processors, causes the system to:
detect the first term or phrase in a user input that is received after the determination of whether the mismatch exists,
replace, based on the stored indication of the association, the first term or phrase with the second term or phrase in the received user input to form a revised user input, and
provide the revised user input as an NL query to be answered by the second portion, when the second portion is executed by the one or more processors.
2. The system of claim 1, wherein at least one of:
the first portion comprises i) a macro manager configured to a) cause the system to generate the association and b) determine whether the mismatch between the context of the first term or phrase and the context of the second term or phrase exists, and ii) a macro database configured to store the natural language macro;
the second portion comprises i) a parser configured to cause the system to generate one or more expressions in precise syntax based on the NL query and ii) a substystem configured to cause the system to generate the one or more answers to the NL query based on the one or more expressions in precise syntax; or
the system further comprises an input/output (I/O) interface coupled to the first portion, wherein the first term or phrase and the second term or phrase are obtained via the I/O interface.
3. The system of claim 2, wherein the mismatch between the context of the first term or phrase and the context of the second term or phrase is a first potential error, and the macro manager is further configured to cause the system to:
determine a second potential error corresponding to at least one of the first term or phrase, the second term or phrase, or the association between the first term or phrase and the second term or phrase, and
provide an indication of the second potential error.
4. The system of claim 1, wherein the first portion, when executed by the one or more processors, causes the system further to at least one of: modify the NL macro or provide an indication of the NL macro in response to a request.
5. The system of claim 1, wherein the first portion further comprises a macro assistant configured to cause the system to determine a suggested value of the second term or phrase.
6. The system of claim 5, wherein the macro assistant is configured to cause the system to determine the suggested value of the second term or phrase based on at least one of the context of the first term or phrase, a previously received first term or phrase, a previously received second term or phrase, a particular stored macro, a user preference, a user activity, or data corresponding to a user.
7. The system of claim 1, further comprising a mechanism to access stored user data, and wherein at least one of: the second term or phrase refers to at least a portion of the stored user data, or the second portion is configured to generate an answer to the NL query based on the at least a portion of the user data or based on at least another portion of the stored user data.
US12/845,441 2010-07-28 2010-07-28 Macro replacement of natural language input Active 2032-07-21 US8812298B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US12/845,441 US8812298B1 (en) 2010-07-28 2010-07-28 Macro replacement of natural language input
US14/462,282 US9229927B2 (en) 2010-07-28 2014-08-18 Macro replacement of natural language input

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US12/845,441 US8812298B1 (en) 2010-07-28 2010-07-28 Macro replacement of natural language input

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/462,282 Division US9229927B2 (en) 2010-07-28 2014-08-18 Macro replacement of natural language input

Publications (1)

Publication Number Publication Date
US8812298B1 true US8812298B1 (en) 2014-08-19

Family

ID=51301787

Family Applications (2)

Application Number Title Priority Date Filing Date
US12/845,441 Active 2032-07-21 US8812298B1 (en) 2010-07-28 2010-07-28 Macro replacement of natural language input
US14/462,282 Active US9229927B2 (en) 2010-07-28 2014-08-18 Macro replacement of natural language input

Family Applications After (1)

Application Number Title Priority Date Filing Date
US14/462,282 Active US9229927B2 (en) 2010-07-28 2014-08-18 Macro replacement of natural language input

Country Status (1)

Country Link
US (2) US8812298B1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140214935A1 (en) * 2013-01-28 2014-07-31 International Business Machines Corporation Managing Content Across Different Device Types
US20140214399A1 (en) * 2013-01-29 2014-07-31 Microsoft Corporation Translating natural language descriptions to programs in a domain-specific language for spreadsheets
US20150081727A1 (en) * 2013-07-12 2015-03-19 Logic9S, Llc Integrated, configurable, analytical, temporal, visual electronic plan system
US20150112971A1 (en) * 2013-10-17 2015-04-23 Wolfram Alpha Llc Method and system for providing answers to queries
US10318528B2 (en) 2016-02-25 2019-06-11 Microsoft Technology Licensing, Llc Query response using mapping to parameterized report
US10552204B2 (en) * 2017-07-07 2020-02-04 Google Llc Invoking an automated assistant to perform multiple tasks through an individual command
US10558695B2 (en) 2017-05-30 2020-02-11 International Business Machines Corporation Weather-based natural language text processing
US10956433B2 (en) * 2013-07-15 2021-03-23 Microsoft Technology Licensing, Llc Performing an operation relative to tabular data based upon voice input
US20210248134A1 (en) * 2017-12-04 2021-08-12 Palantir Technologies Inc. Query-based time-series data display and processing system
US20210350088A1 (en) * 2020-05-08 2021-11-11 Jpmorgan Chase Bank, N.A. Systems and methods for digital document generation using natural language interaction
US20230081598A1 (en) * 2021-09-10 2023-03-16 International Business Machines Corporation Ontology-based data visualization

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9135244B2 (en) 2012-08-30 2015-09-15 Arria Data2Text Limited Method and apparatus for configurable microplanning
US8762134B2 (en) 2012-08-30 2014-06-24 Arria Data2Text Limited Method and apparatus for situational analysis text generation
US9336193B2 (en) 2012-08-30 2016-05-10 Arria Data2Text Limited Method and apparatus for updating a previously generated text
US8762133B2 (en) 2012-08-30 2014-06-24 Arria Data2Text Limited Method and apparatus for alert validation
US9405448B2 (en) 2012-08-30 2016-08-02 Arria Data2Text Limited Method and apparatus for annotating a graphical output
US9600471B2 (en) 2012-11-02 2017-03-21 Arria Data2Text Limited Method and apparatus for aggregating with information generalization
WO2014076525A1 (en) 2012-11-16 2014-05-22 Data2Text Limited Method and apparatus for expressing time in an output text
WO2014076524A1 (en) 2012-11-16 2014-05-22 Data2Text Limited Method and apparatus for spatial descriptions in an output text
WO2014102568A1 (en) 2012-12-27 2014-07-03 Arria Data2Text Limited Method and apparatus for motion detection
WO2014102569A1 (en) 2012-12-27 2014-07-03 Arria Data2Text Limited Method and apparatus for motion description
US10776561B2 (en) 2013-01-15 2020-09-15 Arria Data2Text Limited Method and apparatus for generating a linguistic representation of raw input data
US9946711B2 (en) 2013-08-29 2018-04-17 Arria Data2Text Limited Text generation from correlated alerts
US9396181B1 (en) 2013-09-16 2016-07-19 Arria Data2Text Limited Method, apparatus, and computer program product for user-directed reporting
US9244894B1 (en) * 2013-09-16 2016-01-26 Arria Data2Text Limited Method and apparatus for interactive reports
US10664558B2 (en) 2014-04-18 2020-05-26 Arria Data2Text Limited Method and apparatus for document planning
USD798900S1 (en) * 2014-06-01 2017-10-03 Apple Inc. Display screen or portion thereof with icon
USD762659S1 (en) 2014-09-02 2016-08-02 Apple Inc. Display screen or portion thereof with graphical user interface
US10191734B1 (en) * 2015-12-15 2019-01-29 Open Text Corporation Method and system for software application optimization using natural language-based queries
USD804502S1 (en) 2016-06-11 2017-12-05 Apple Inc. Display screen or portion thereof with graphical user interface
US10445432B1 (en) 2016-08-31 2019-10-15 Arria Data2Text Limited Method and apparatus for lightweight multilingual natural language realizer
US10467347B1 (en) 2016-10-31 2019-11-05 Arria Data2Text Limited Method and apparatus for natural language document orchestrator
US10719757B2 (en) 2016-12-02 2020-07-21 Microsoft Technology Licensing, Llc System for interpreting and managing imprecise temporal expressions
USD805089S1 (en) 2016-12-23 2017-12-12 Apple Inc. Display screen or portion thereof with graphical user interface
USD877170S1 (en) 2018-01-22 2020-03-03 Apple Inc. Electronic device with graphical user interface
USD961603S1 (en) 2019-06-01 2022-08-23 Apple Inc. Electronic device with animated graphical user interface
USD962246S1 (en) 2019-06-02 2022-08-30 Apple Inc. Electronic device with graphical user interface
USD921669S1 (en) 2019-09-09 2021-06-08 Apple Inc. Display screen or portion thereof with animated graphical user interface
USD974371S1 (en) 2020-07-29 2023-01-03 Apple Inc. Display screen or portion thereof with graphical user interface

Citations (89)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4734854A (en) 1985-10-08 1988-03-29 American Telephone And Telegraph Company System for generating software source code components
US4740886A (en) 1984-11-02 1988-04-26 Hitachi, Ltd Computer control system utilizing knowledge processing
US4841441A (en) 1984-08-01 1989-06-20 Adata Software Limited Method of creating a computer system
US4949253A (en) 1987-01-23 1990-08-14 Hitachi, Ltd. Method and apparatus for automatically generating program
US5038296A (en) 1989-04-04 1991-08-06 Kabushiki Kaisha Toshiba Automatic program synthisizer
EP0442240A2 (en) 1990-01-25 1991-08-21 International Business Machines Corporation Method of using natural language to program a window system
US5315710A (en) 1991-01-25 1994-05-24 Hitachi, Ltd. Program synthesizing method and apparatus
US5394509A (en) 1992-03-31 1995-02-28 Winston; Patrick H. Data processing system and method for searching for improved results from a process
US5448740A (en) 1992-12-15 1995-09-05 International Business Machines Corporation Generation of a user interface code from a corresponding declarative language program
US5485601A (en) 1992-05-14 1996-01-16 Ching; Hugh Completely automated and self-generating software system
US5499371A (en) 1993-07-21 1996-03-12 Persistence Software, Inc. Method and apparatus for automatic generation of object oriented code for mapping relational data to objects
US5555367A (en) 1994-09-30 1996-09-10 General Electric Company Method and system for generating computer programs for queries formed by manipulating object-oriented diagrams
US5559939A (en) 1990-03-19 1996-09-24 Hitachi, Ltd. Method and apparatus for preparing a document containing information in real mathematical notation
US5634024A (en) 1994-05-18 1997-05-27 Nec Corporation Definition execution system for operations and functions in computer system
US5640576A (en) 1992-10-02 1997-06-17 Fujitsu Limited System for generating a program using the language of individuals
WO1997040425A2 (en) 1996-04-25 1997-10-30 The Foxboro Company Idiomatic control language implementation
US5696962A (en) 1993-06-24 1997-12-09 Xerox Corporation Method for computerized information retrieval using shallow linguistic analysis
US5768590A (en) 1994-08-01 1998-06-16 Fujitsu Limited Program generating system for application-specific add-on boards using the language of individuals
US5815717A (en) 1995-10-27 1998-09-29 Authorgenics, Inc. Application program and documentation generator system and method
US5815713A (en) 1995-04-13 1998-09-29 Sterling Software, Inc. Method and system for automated transformation of declarative language process specifications
US5987505A (en) 1995-04-28 1999-11-16 Fry; Shawn C. Method for emulation of terminal-resident GUI application by transmitting macros having information and command instructing the terminal how to process the information
US6038560A (en) 1997-05-21 2000-03-14 Oracle Corporation Concept knowledge base search and retrieval system
US6076051A (en) 1997-03-07 2000-06-13 Microsoft Corporation Information retrieval utilizing semantic representation of text
US6084585A (en) 1998-07-29 2000-07-04 International Business Machines Corp. System for directly accessing fields on electronic forms
US6169986B1 (en) 1998-06-15 2001-01-02 Amazon.Com, Inc. System and method for refining search queries
US6173441B1 (en) 1998-10-16 2001-01-09 Peter A. Klein Method and system for compiling source code containing natural language instructions
US6216139B1 (en) 1995-11-20 2001-04-10 Execware Integrated dialog box for rapidly altering presentation of parametric text data objects on a computer display
US6256665B1 (en) 1995-04-28 2001-07-03 Sotf Technologies, Inc. Method for emulation of terminal-resident GUI application
US6275976B1 (en) 1996-03-15 2001-08-14 Joseph M. Scandura Automated method for building and maintaining software including methods for verifying that systems are internally consistent and correct relative to their specifications
US6289513B1 (en) 1999-06-01 2001-09-11 Isaac Bentwich Interactive application generation and text processing
US20020099743A1 (en) 2001-01-22 2002-07-25 Oracle Corporation System for editing query conditions, calculations, formulas and equations
US20020116176A1 (en) 2000-04-20 2002-08-22 Valery Tsourikov Semantic answering system and method
US20020143810A1 (en) 2001-03-28 2002-10-03 Bennett Paul W. System and method for calculation using vertical parentheses
US20020140734A1 (en) 2001-03-28 2002-10-03 Bennett Paul W. System and method for calculation using formulas in number fields
US20020174120A1 (en) 2001-03-30 2002-11-21 Hong-Jiang Zhang Relevance maximizing, iteration minimizing, relevance-feedback, content-based image retrieval (CBIR)
US6493694B1 (en) 1999-04-01 2002-12-10 Qwest Communications Interational Inc. Method and system for correcting customer service orders
US6502236B1 (en) 1999-03-16 2002-12-31 Fujitsu Network Communications, Inc. Method and apparatus for automatic generation of programs for processing data units of multiple formats
US6505157B1 (en) 1999-03-01 2003-01-07 Canon Kabushiki Kaisha Apparatus and method for generating processor usable data from natural language input data
US6584464B1 (en) 1999-03-19 2003-06-24 Ask Jeeves, Inc. Grammar template query system
US6589290B1 (en) 1999-10-29 2003-07-08 America Online, Inc. Method and apparatus for populating a form with data
US20030145022A1 (en) 2002-01-31 2003-07-31 Hewlett-Packard Company Storage and management of semi-structured data
US20030191765A1 (en) 2000-08-24 2003-10-09 Bargh Christopher Ian Method of graphically defining a formula
US20040001109A1 (en) 2002-06-27 2004-01-01 International Business Machines Corporation Drop down checklist control
US6675159B1 (en) 2000-07-27 2004-01-06 Science Applic Int Corp Concept-based search and retrieval system
US6684388B1 (en) 2000-08-22 2004-01-27 International Business Machines Corporation Method for generating platform independent, language specific computer code
US6704728B1 (en) 2000-05-02 2004-03-09 Iphase.Com, Inc. Accessing information from a collection of data
US20040049499A1 (en) 2002-08-19 2004-03-11 Matsushita Electric Industrial Co., Ltd. Document retrieval system and question answering system
US20040088158A1 (en) 2002-10-31 2004-05-06 Phillip Sheu Structured natural language query and knowledge system
US20040103405A1 (en) 2002-11-20 2004-05-27 Vargas Byron D. System for translating programming languages
US20040128649A1 (en) 2002-12-30 2004-07-01 Intel Corporation Methods and systems for an interactive theorem-proving tool with reflective capabilities
US20050005258A1 (en) 2003-07-03 2005-01-06 International Business Machines Corporation Private source code commenting
US6876314B1 (en) 2004-02-18 2005-04-05 Robocoder Corporation Self-generating automatic code generator
US6877155B1 (en) 1994-09-30 2005-04-05 International Business Machines Corporation System and method for generating target language code utilizing an object oriented code generator
US20050080780A1 (en) 2003-08-21 2005-04-14 Matthew Colledge System and method for processing a query
US20050097464A1 (en) 2003-10-30 2005-05-05 Astrid Graeber Systems and methods for implementing formulas
US6901399B1 (en) 1997-07-22 2005-05-31 Microsoft Corporation System for processing textual inputs using natural language processing techniques
US6973640B2 (en) 2000-10-04 2005-12-06 Bea Systems, Inc. System and method for computer code generation
US20060020886A1 (en) 2004-07-15 2006-01-26 Agrawal Subodh K System and method for the structured capture of information and the generation of semantically rich reports
US20060025987A1 (en) 2004-07-30 2006-02-02 Baisley Donald E Generating software components from business rules expressed in a natural language
US20060026576A1 (en) 2004-07-27 2006-02-02 Baisley Donald E Generating a database model from natural language expressions of business rules
US6996801B2 (en) 2000-07-14 2006-02-07 Nec Corporation System and method for automatically generating program
US7013300B1 (en) * 1999-08-03 2006-03-14 Taylor David C Locating, filtering, matching macro-context from indexed database for searching context where micro-context relevant to textual input by user
US20060136411A1 (en) 2004-12-21 2006-06-22 Microsoft Corporation Ranking search results using feature extraction
US7120574B2 (en) 2000-04-03 2006-10-10 Invention Machine Corporation Synonym extension of search queries with validation
US7137100B2 (en) 2000-04-04 2006-11-14 Jose Iborra Automatic software production system
US20060271908A1 (en) 2002-12-02 2006-11-30 Bargh Christopher I Method of componentisation of a graphically defined formula
US20060279799A1 (en) 2005-06-13 2006-12-14 Neal Goldman System and method for retrieving and displaying information relating to electronic documents available from an informational network
US20070022109A1 (en) 2005-07-25 2007-01-25 Tomasz Imielinski Systems and methods for answering user questions
US20070043574A1 (en) 1998-10-02 2007-02-22 Daniel Coffman Conversational computing via conversational virtual machine
US7197739B2 (en) 2000-01-31 2007-03-27 British Telecommunications Public Limited Company Apparatus for automatically generating source code
US20070106657A1 (en) 2005-11-10 2007-05-10 Brzeski Vadim V Word sense disambiguation
US7222333B1 (en) 2001-10-15 2007-05-22 Cisco Technology, Inc. Techniques for generating software application build scripts based on tags in comments
US7231343B1 (en) * 2001-12-20 2007-06-12 Ianywhere Solutions, Inc. Synonyms mechanism for natural language systems
US20070203929A1 (en) 2006-02-28 2007-08-30 Ebay Inc. Expansion of database search queries
US20070208722A1 (en) 2006-03-02 2007-09-06 International Business Machines Corporation Apparatus and method for modification of a saved database query based on a change in the meaning of a query value over time
US7269822B2 (en) 2000-02-23 2007-09-11 International Business Machines Corporation Technique for enabling applications to use languages other than their built-in macro-languages without changing the applications
US20070220034A1 (en) 2006-03-16 2007-09-20 Microsoft Corporation Automatic training of data mining models
US20080016040A1 (en) 2006-07-14 2008-01-17 Chacha Search Inc. Method and system for qualifying keywords in query strings
US20080066052A1 (en) 2006-09-07 2008-03-13 Stephen Wolfram Methods and systems for determining a formula
US7373291B2 (en) 2002-02-15 2008-05-13 Mathsoft Engineering & Education, Inc. Linguistic support for a recognizer of mathematical expressions
US7440968B1 (en) 2004-11-30 2008-10-21 Google Inc. Query boosting based on classification
US20090171923A1 (en) 2008-01-02 2009-07-02 Michael Patrick Nash Domain-specific concept model for associating structured data that enables a natural language query
US7620935B2 (en) 2004-04-30 2009-11-17 Microsoft Corporation Generating programmatic interfaces from natural language expressions of authorizations for request of information
US20100004924A1 (en) 2008-07-03 2010-01-07 Yuri Luis Paez Method and system context-aware for identifying, activating and executing software that best respond to user requests generated in natural language
US7747601B2 (en) 2006-08-14 2010-06-29 Inquira, Inc. Method and apparatus for identifying and classifying query intent
US7747981B2 (en) 2005-09-23 2010-06-29 Wolfram Research, Inc. Method of dynamically linking objects operated on by a computational system
US20100293174A1 (en) 2009-05-12 2010-11-18 Microsoft Corporation Query classification
US7844594B1 (en) 1999-06-18 2010-11-30 Surfwax, Inc. Information search, retrieval and distillation into knowledge objects
US8135696B2 (en) 2007-03-03 2012-03-13 Michael John Safoutin Time-conditioned search engine interface with visual feedback

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7698140B2 (en) * 2006-03-06 2010-04-13 Foneweb, Inc. Message transcription, voice query and query delivery system
US20080104042A1 (en) * 2006-10-25 2008-05-01 Microsoft Corporation Personalized Search Using Macros

Patent Citations (99)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4841441A (en) 1984-08-01 1989-06-20 Adata Software Limited Method of creating a computer system
US4740886A (en) 1984-11-02 1988-04-26 Hitachi, Ltd Computer control system utilizing knowledge processing
US4734854A (en) 1985-10-08 1988-03-29 American Telephone And Telegraph Company System for generating software source code components
US4949253A (en) 1987-01-23 1990-08-14 Hitachi, Ltd. Method and apparatus for automatically generating program
US5038296A (en) 1989-04-04 1991-08-06 Kabushiki Kaisha Toshiba Automatic program synthisizer
EP0442240A2 (en) 1990-01-25 1991-08-21 International Business Machines Corporation Method of using natural language to program a window system
US5559939A (en) 1990-03-19 1996-09-24 Hitachi, Ltd. Method and apparatus for preparing a document containing information in real mathematical notation
US5315710A (en) 1991-01-25 1994-05-24 Hitachi, Ltd. Program synthesizing method and apparatus
US5394509A (en) 1992-03-31 1995-02-28 Winston; Patrick H. Data processing system and method for searching for improved results from a process
US5485601A (en) 1992-05-14 1996-01-16 Ching; Hugh Completely automated and self-generating software system
US5640576A (en) 1992-10-02 1997-06-17 Fujitsu Limited System for generating a program using the language of individuals
US5448740A (en) 1992-12-15 1995-09-05 International Business Machines Corporation Generation of a user interface code from a corresponding declarative language program
US5696962A (en) 1993-06-24 1997-12-09 Xerox Corporation Method for computerized information retrieval using shallow linguistic analysis
US5499371A (en) 1993-07-21 1996-03-12 Persistence Software, Inc. Method and apparatus for automatic generation of object oriented code for mapping relational data to objects
US5634024A (en) 1994-05-18 1997-05-27 Nec Corporation Definition execution system for operations and functions in computer system
US5768590A (en) 1994-08-01 1998-06-16 Fujitsu Limited Program generating system for application-specific add-on boards using the language of individuals
US5555367A (en) 1994-09-30 1996-09-10 General Electric Company Method and system for generating computer programs for queries formed by manipulating object-oriented diagrams
US6877155B1 (en) 1994-09-30 2005-04-05 International Business Machines Corporation System and method for generating target language code utilizing an object oriented code generator
US5815713A (en) 1995-04-13 1998-09-29 Sterling Software, Inc. Method and system for automated transformation of declarative language process specifications
US5987505A (en) 1995-04-28 1999-11-16 Fry; Shawn C. Method for emulation of terminal-resident GUI application by transmitting macros having information and command instructing the terminal how to process the information
US6256665B1 (en) 1995-04-28 2001-07-03 Sotf Technologies, Inc. Method for emulation of terminal-resident GUI application
US5815717A (en) 1995-10-27 1998-09-29 Authorgenics, Inc. Application program and documentation generator system and method
US6216139B1 (en) 1995-11-20 2001-04-10 Execware Integrated dialog box for rapidly altering presentation of parametric text data objects on a computer display
US6275976B1 (en) 1996-03-15 2001-08-14 Joseph M. Scandura Automated method for building and maintaining software including methods for verifying that systems are internally consistent and correct relative to their specifications
WO1997040425A2 (en) 1996-04-25 1997-10-30 The Foxboro Company Idiomatic control language implementation
US6076051A (en) 1997-03-07 2000-06-13 Microsoft Corporation Information retrieval utilizing semantic representation of text
US6038560A (en) 1997-05-21 2000-03-14 Oracle Corporation Concept knowledge base search and retrieval system
US6901399B1 (en) 1997-07-22 2005-05-31 Microsoft Corporation System for processing textual inputs using natural language processing techniques
US6169986B1 (en) 1998-06-15 2001-01-02 Amazon.Com, Inc. System and method for refining search queries
US6084585A (en) 1998-07-29 2000-07-04 International Business Machines Corp. System for directly accessing fields on electronic forms
US20070043574A1 (en) 1998-10-02 2007-02-22 Daniel Coffman Conversational computing via conversational virtual machine
US6173441B1 (en) 1998-10-16 2001-01-09 Peter A. Klein Method and system for compiling source code containing natural language instructions
US6505157B1 (en) 1999-03-01 2003-01-07 Canon Kabushiki Kaisha Apparatus and method for generating processor usable data from natural language input data
US6502236B1 (en) 1999-03-16 2002-12-31 Fujitsu Network Communications, Inc. Method and apparatus for automatic generation of programs for processing data units of multiple formats
US6584464B1 (en) 1999-03-19 2003-06-24 Ask Jeeves, Inc. Grammar template query system
US6493694B1 (en) 1999-04-01 2002-12-10 Qwest Communications Interational Inc. Method and system for correcting customer service orders
US6289513B1 (en) 1999-06-01 2001-09-11 Isaac Bentwich Interactive application generation and text processing
US7844594B1 (en) 1999-06-18 2010-11-30 Surfwax, Inc. Information search, retrieval and distillation into knowledge objects
US7013300B1 (en) * 1999-08-03 2006-03-14 Taylor David C Locating, filtering, matching macro-context from indexed database for searching context where micro-context relevant to textual input by user
US6589290B1 (en) 1999-10-29 2003-07-08 America Online, Inc. Method and apparatus for populating a form with data
US7197739B2 (en) 2000-01-31 2007-03-27 British Telecommunications Public Limited Company Apparatus for automatically generating source code
US7269822B2 (en) 2000-02-23 2007-09-11 International Business Machines Corporation Technique for enabling applications to use languages other than their built-in macro-languages without changing the applications
US7120574B2 (en) 2000-04-03 2006-10-10 Invention Machine Corporation Synonym extension of search queries with validation
US7137100B2 (en) 2000-04-04 2006-11-14 Jose Iborra Automatic software production system
US20020116176A1 (en) 2000-04-20 2002-08-22 Valery Tsourikov Semantic answering system and method
US6704728B1 (en) 2000-05-02 2004-03-09 Iphase.Com, Inc. Accessing information from a collection of data
US6996801B2 (en) 2000-07-14 2006-02-07 Nec Corporation System and method for automatically generating program
US6675159B1 (en) 2000-07-27 2004-01-06 Science Applic Int Corp Concept-based search and retrieval system
US6684388B1 (en) 2000-08-22 2004-01-27 International Business Machines Corporation Method for generating platform independent, language specific computer code
US20030191765A1 (en) 2000-08-24 2003-10-09 Bargh Christopher Ian Method of graphically defining a formula
US6973640B2 (en) 2000-10-04 2005-12-06 Bea Systems, Inc. System and method for computer code generation
US7685507B2 (en) 2001-01-22 2010-03-23 Oracle International Corporation System for editing query conditions, calculations, formulas and equations
US20020099743A1 (en) 2001-01-22 2002-07-25 Oracle Corporation System for editing query conditions, calculations, formulas and equations
US20020143810A1 (en) 2001-03-28 2002-10-03 Bennett Paul W. System and method for calculation using vertical parentheses
US20020140734A1 (en) 2001-03-28 2002-10-03 Bennett Paul W. System and method for calculation using formulas in number fields
US6742162B2 (en) 2001-03-28 2004-05-25 Paul W. Bennett System and method for calculation using formulas in number fields
US20020174120A1 (en) 2001-03-30 2002-11-21 Hong-Jiang Zhang Relevance maximizing, iteration minimizing, relevance-feedback, content-based image retrieval (CBIR)
US7222333B1 (en) 2001-10-15 2007-05-22 Cisco Technology, Inc. Techniques for generating software application build scripts based on tags in comments
US7231343B1 (en) * 2001-12-20 2007-06-12 Ianywhere Solutions, Inc. Synonyms mechanism for natural language systems
US20030145022A1 (en) 2002-01-31 2003-07-31 Hewlett-Packard Company Storage and management of semi-structured data
US7373291B2 (en) 2002-02-15 2008-05-13 Mathsoft Engineering & Education, Inc. Linguistic support for a recognizer of mathematical expressions
US20040001109A1 (en) 2002-06-27 2004-01-01 International Business Machines Corporation Drop down checklist control
US20040049499A1 (en) 2002-08-19 2004-03-11 Matsushita Electric Industrial Co., Ltd. Document retrieval system and question answering system
US7263517B2 (en) 2002-10-31 2007-08-28 Biomedical Objects, Inc. Structured natural language query and knowledge system
US20040088158A1 (en) 2002-10-31 2004-05-06 Phillip Sheu Structured natural language query and knowledge system
US20040103405A1 (en) 2002-11-20 2004-05-27 Vargas Byron D. System for translating programming languages
US20060271908A1 (en) 2002-12-02 2006-11-30 Bargh Christopher I Method of componentisation of a graphically defined formula
US20040128649A1 (en) 2002-12-30 2004-07-01 Intel Corporation Methods and systems for an interactive theorem-proving tool with reflective capabilities
US20050005258A1 (en) 2003-07-03 2005-01-06 International Business Machines Corporation Private source code commenting
US20050080780A1 (en) 2003-08-21 2005-04-14 Matthew Colledge System and method for processing a query
US20090055733A1 (en) 2003-10-30 2009-02-26 Sap Ag System and methods for implementing formulas
US8091024B2 (en) 2003-10-30 2012-01-03 Sap Ag Systems and methods for implementing formulas
US20050097464A1 (en) 2003-10-30 2005-05-05 Astrid Graeber Systems and methods for implementing formulas
US7454701B2 (en) 2003-10-30 2008-11-18 Sap Ag Systems and methods for implementing formulas
US6876314B1 (en) 2004-02-18 2005-04-05 Robocoder Corporation Self-generating automatic code generator
US7620935B2 (en) 2004-04-30 2009-11-17 Microsoft Corporation Generating programmatic interfaces from natural language expressions of authorizations for request of information
US20060020886A1 (en) 2004-07-15 2006-01-26 Agrawal Subodh K System and method for the structured capture of information and the generation of semantically rich reports
US7613676B2 (en) 2004-07-27 2009-11-03 Microsoft Corporation Generating a database model from natural language expressions of business rules
US20060026576A1 (en) 2004-07-27 2006-02-02 Baisley Donald E Generating a database model from natural language expressions of business rules
WO2006014892A2 (en) 2004-07-27 2006-02-09 Unisys Corporation Generating a database model from natural language expressions of business rules
US20060025987A1 (en) 2004-07-30 2006-02-02 Baisley Donald E Generating software components from business rules expressed in a natural language
WO2006015006A2 (en) 2004-07-30 2006-02-09 Unisys Corporation Generating software components from business rules expressed in a natural language
US7440968B1 (en) 2004-11-30 2008-10-21 Google Inc. Query boosting based on classification
US20060136411A1 (en) 2004-12-21 2006-06-22 Microsoft Corporation Ranking search results using feature extraction
US20060279799A1 (en) 2005-06-13 2006-12-14 Neal Goldman System and method for retrieving and displaying information relating to electronic documents available from an informational network
US7451135B2 (en) 2005-06-13 2008-11-11 Inform Technologies, Llc System and method for retrieving and displaying information relating to electronic documents available from an informational network
US20070022109A1 (en) 2005-07-25 2007-01-25 Tomasz Imielinski Systems and methods for answering user questions
US7747981B2 (en) 2005-09-23 2010-06-29 Wolfram Research, Inc. Method of dynamically linking objects operated on by a computational system
US20070106657A1 (en) 2005-11-10 2007-05-10 Brzeski Vadim V Word sense disambiguation
US20070203929A1 (en) 2006-02-28 2007-08-30 Ebay Inc. Expansion of database search queries
US20070208722A1 (en) 2006-03-02 2007-09-06 International Business Machines Corporation Apparatus and method for modification of a saved database query based on a change in the meaning of a query value over time
US20070220034A1 (en) 2006-03-16 2007-09-20 Microsoft Corporation Automatic training of data mining models
US20080016040A1 (en) 2006-07-14 2008-01-17 Chacha Search Inc. Method and system for qualifying keywords in query strings
US7747601B2 (en) 2006-08-14 2010-06-29 Inquira, Inc. Method and apparatus for identifying and classifying query intent
US20080066052A1 (en) 2006-09-07 2008-03-13 Stephen Wolfram Methods and systems for determining a formula
US8135696B2 (en) 2007-03-03 2012-03-13 Michael John Safoutin Time-conditioned search engine interface with visual feedback
US20090171923A1 (en) 2008-01-02 2009-07-02 Michael Patrick Nash Domain-specific concept model for associating structured data that enables a natural language query
US20100004924A1 (en) 2008-07-03 2010-01-07 Yuri Luis Paez Method and system context-aware for identifying, activating and executing software that best respond to user requests generated in natural language
US20100293174A1 (en) 2009-05-12 2010-11-18 Microsoft Corporation Query classification

Non-Patent Citations (42)

* Cited by examiner, † Cited by third party
Title
"AppleScript," Wikipedia.
"Area calculator", http://www.calculator.com, 1 page, Aug. 15, 2006.
"calculator.com", http://www.calculator.com, 2 pages, Aug. 15, 2006.
"Car Lease Calculator", http://www.calculator.com, 1 page, Aug. 15, 2006.
"Currency Calculator", http://www.calculator.com, 1 page, Aug. 15, 2006.
"Fractions calculator", http://www.calculator.com, 1 page, Aug. 15, 2006.
"General Loan Calculator", http://www.calculator.com, 1 page, Aug. 15, 2006.
"Google Code," , Mar. 17, 2005, p. 1-11.
"Google Code," <http://code.google.com/>, Mar. 17, 2005, p. 1-11.
"Graphing calculator", http://www.calculator.com, 1 page, Aug. 15, 2006.
"Home Equity Calculator", http://www.calculator.com, 1 page, Aug. 15, 2006.
"Home-Finance", http://www.calculator.com, 2 pages, Aug. 15, 2006.
"How Much Can I Afford Calculator", http://www.calculator.com, 1 page, Aug. 15, 2006.
"Length Adding Calculator", http://www.calculator.com, 1 page, Aug. 15, 2006.
"Love Calculator", http://www.calculator.com, 1 page, Aug. 15, 2006.
"Mortgage Payment Calculator", http://www.calculator.com, 1 page, Aug. 15, 2006.
"Mortgage Qualification Calculator", http://www.calculator.com, 1 page, Aug. 15, 2006.
"Percent calculator", http://www.calculator.com, 1 page, Aug. 15, 2006.
"Rent versus Buy Calculator", http://www.calculator.com, 1 page, Aug. 15, 2006.
"Scientific calculator", http://www.calculator.com, 1 page, Aug. 15, 2006.
"Standard calculator", http://www.calculator.com, 1 page, Aug. 15, 2006.
"Temperature calculator", http://www.calculator.com, 1 page, Aug. 15, 2006.
"The Mortgage Calculator," , Aug. 8, 1996, p. 1-7.
"The Mortgage Calculator," <http://www.hughchou.org/calc/mortold.html>, Aug. 8, 1996, p. 1-7.
"Time Calculator", http://www.calculator.com, 1 page, Aug. 15, 2006.
"Unit Conversion Calculator", http://www.calculator.com, 1 page, Aug. 15, 2006.
Adorni, et al., "Natural Language Input for Scene Generation," Proceedings of the first conference on European Chapter of the Association for Computational Linguistics, pp. 175-182 (1983).
Asperti et al., "A content based mathematical search engine: Whelp," 2004, p. 1-15.
Estival et al., "Towards Ontology-Based Natural Language Processing," http://acl.Idc.upenn.edu/acl2004/nIpxml/pdf/estival-etal.pdf, accessed Mar. 8, 2010, 8 pages.
Jones et al., "Generating Query Substitutions," ACM WWW 2006, May 23-26, 2006, pp. 387-396.
Kamareddine et al., "Restoring Natural Language as a Computerised Mathematics Input Method," Proceedings of the 14th symposium on Towards Mechanized +Mathematical Assistants: 6th International Conference, pp. 280-295 (2007).
Lavrov, "Program Synthesis," Cybernetics and Systems Analysis, vol. 18, No. 6 pp. 708-715 (Nov. 1982).
Meyers, A., "VOX-An Extensible Natural Language Processor," http://dli.iiit.ac.in/ijcai/IJCAI-85-VOL2/PDF/026.pdf, accessed Mar. 8, 2010, 5 pages.
Moore, Gregory M., "Calculator Code: Programming Code for Use within a Scientific Calculator," Fall 2005, p. 1-29.
Myers et al., "Natural Programming Languages and Environments," Communications of the ACM, vol. 47, No. 9, pp. 47-52 (Sep. 2004).
Office Action for related U.S. Appl. No. 12/780,685, dated Feb. 15, 2012.
Office Action for related U.S. Appl. No. 12/780,705, dated Jan. 31, 2012.
Osogami, "A Study of Input and Output Conditions for Automatic Program Generation," Memoirs of the Fukui Institute of Technology, vol. 37 pp. 273-278 (2007).
Sucan, Ioan Alexandru, "A Search Engine for Mathematical Formulae," May 7, 2006, p. 1-17.
Trott, Michael, "Mathematical Searching of The Wolfram Functions Site," 2005, The Mathematica Journal, p. 713-726.
Trott, Michael, "The Functions Website," 2003, The Mathematical Journal, p. 1-10.
Wang et al., "Mining Term Association Patterns from Search Logs for Effective Query Reformulation," ACM CIKM 2008, Oct. 26-30, 2008, pp. 479-488.

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140214935A1 (en) * 2013-01-28 2014-07-31 International Business Machines Corporation Managing Content Across Different Device Types
US20140214399A1 (en) * 2013-01-29 2014-07-31 Microsoft Corporation Translating natural language descriptions to programs in a domain-specific language for spreadsheets
US9330090B2 (en) * 2013-01-29 2016-05-03 Microsoft Technology Licensing, Llc. Translating natural language descriptions to programs in a domain-specific language for spreadsheets
US20150081727A1 (en) * 2013-07-12 2015-03-19 Logic9S, Llc Integrated, configurable, analytical, temporal, visual electronic plan system
US9116931B2 (en) * 2013-07-12 2015-08-25 Logic9S, Llc Integrated, configurable, analytical, temporal, visual electronic plan system
US10956433B2 (en) * 2013-07-15 2021-03-23 Microsoft Technology Licensing, Llc Performing an operation relative to tabular data based upon voice input
US20150112971A1 (en) * 2013-10-17 2015-04-23 Wolfram Alpha Llc Method and system for providing answers to queries
US10068016B2 (en) * 2013-10-17 2018-09-04 Wolfram Alpha Llc Method and system for providing answers to queries
US10318528B2 (en) 2016-02-25 2019-06-11 Microsoft Technology Licensing, Llc Query response using mapping to parameterized report
US10572526B2 (en) 2017-05-30 2020-02-25 International Business Machines Corporation Weather-based natural language text processing
US10558695B2 (en) 2017-05-30 2020-02-11 International Business Machines Corporation Weather-based natural language text processing
US20200117502A1 (en) * 2017-07-07 2020-04-16 Google Llc Invoking an automated assistant to perform multiple tasks through an individual command
US10552204B2 (en) * 2017-07-07 2020-02-04 Google Llc Invoking an automated assistant to perform multiple tasks through an individual command
US11494225B2 (en) * 2017-07-07 2022-11-08 Google Llc Invoking an automated assistant to perform multiple tasks through an individual command
US20230056213A1 (en) * 2017-07-07 2023-02-23 Google Llc Invoking an automated assistant to perform multiple tasks through an individual command
US11861393B2 (en) * 2017-07-07 2024-01-02 Google Llc Invoking an automated assistant to perform multiple tasks through an individual command
US20210248134A1 (en) * 2017-12-04 2021-08-12 Palantir Technologies Inc. Query-based time-series data display and processing system
US11709852B2 (en) * 2017-12-04 2023-07-25 Palantir Technologies Inc. Query-based time-series data display and processing system
US20210350088A1 (en) * 2020-05-08 2021-11-11 Jpmorgan Chase Bank, N.A. Systems and methods for digital document generation using natural language interaction
US20230081598A1 (en) * 2021-09-10 2023-03-16 International Business Machines Corporation Ontology-based data visualization

Also Published As

Publication number Publication date
US20150046153A1 (en) 2015-02-12
US9229927B2 (en) 2016-01-05

Similar Documents

Publication Publication Date Title
US9229927B2 (en) Macro replacement of natural language input
US10176268B2 (en) Method and system for analyzing data using a query answering system
US20190384762A1 (en) Computer-implemented method of querying a dataset
US9282162B2 (en) Processing user profiles of users in an electronic community
US10332012B2 (en) Knowledge driven solution inference
US9047346B2 (en) Reporting language filtering and mapping to dimensional concepts
US8484015B1 (en) Entity pages
JP5243779B2 (en) System and method for adaptive spell checking
US11720527B2 (en) API for implementing scoring functions
US8788524B1 (en) Method and system for responding to queries in an imprecise syntax
US11893341B2 (en) Domain-specific language interpreter and interactive visual interface for rapid screening
CN110869925B (en) Multiple entity aware pre-entry in a search
US20210357440A1 (en) Context-based Recommendation System for Feature Search
US11003426B1 (en) Identification of code for parsing given expressions
CN112558966B (en) Depth model visualization data processing method and device and electronic equipment
KR20240020166A (en) Method for learning machine-learning model with structured ESG data using ESG auxiliary tool and service server for generating automatically completed ESG documents with the machine-learning model
KR101985014B1 (en) System and method for exploratory data visualization
KR101798139B1 (en) Filter system and method according to type of data variable in web-based data visualization system
KR102574784B1 (en) Method for recommending suitable texts to auto-complete ESG documents and ESG service providing system performing the same
US20240119225A1 (en) Domain-specific language interpreter and interactive visual interface for rapid screening
US11783206B1 (en) Method and system for making binary predictions for a subject using historical data obtained from multiple subjects
US20220382753A1 (en) Narrowing synonym dictionary results using document attributes
CN117725190A (en) Multi-round question-answering method, system, terminal and storage medium based on large language model
CN113961811A (en) Conversational recommendation method, device, equipment and medium based on event map
WO2023225264A1 (en) Personalized text suggestions

Legal Events

Date Code Title Description
AS Assignment

Owner name: WOLFRAM ALPHA LLC, ILLINOIS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:OVERMANN, PETER;REEL/FRAME:025240/0167

Effective date: 20101013

AS Assignment

Owner name: WOLFRAM ALPHA LLC, ILLINOIS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:WOLFRAM, STEPHEN;REEL/FRAME:032769/0171

Effective date: 20140422

STCF Information on status: patent grant

Free format text: PATENTED CASE

FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.)

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551)

Year of fee payment: 4

FEPP Fee payment procedure

Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FEPP Fee payment procedure

Free format text: 7.5 YR SURCHARGE - LATE PMT W/IN 6 MO, LARGE ENTITY (ORIGINAL EVENT CODE: M1555); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 8