System and method for temporal expressions processing
AssigneeKnexus Research Corporation
InventorKalyan Moy Gupta
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure resolve natural language temporal expressions into temporal values via a temporal expressions processor that parses a given temporal expression into one or more semantic parses, selects an optimal semantic parse and resolves a value for the optimal semantic parse. The temporal values may pertain to one or more calendar dates, one or more calendar periods, one or more clock times, a clock time period and/or a combination of the above.
Claims12
A method for processing a natural language temporal utterance, comprising:
- receiving, by a host, a natural language temporal utterance comprising a span of words;
- parsing, by the host, the received natural language temporal utterance to generate a plurality of semantic parses, wherein the parsing comprises processing the natural language temporal utterance into one or more parse trees;
- evaluating, by the host, the plurality of semantic parses and selecting, by the host, an optimal semantic parse from the plurality of semantic parses, wherein selecting an optimal semantic parse comprises selecting a smallest tree of the one or more parse trees that covers a largest span of the span of words in the natural language temporal utterance;
- and
- resolving, by the host, a temporal value for the optimal semantic parse, wherein the temporal value comprises at least a calendar date, a calendar range or clock time value converted from the natural language temporal utterance.
A system for processing a natural language temporal utterance, comprising:
- at least one processor;
- and
- at least one memory device storing a plurality of instructions which, when executed by the at least one processor, cause the at least one processor to:
- receive a natural language temporal utterance comprising a span of words;
- parse the received natural language temporal utterance to generate a plurality of semantic parses, wherein the parsing comprises processing the natural language temporal utterance into one or more parse trees;
- evaluate the plurality of semantic parses and selecting, by the host, an optimal semantic parse from the plurality of semantic parses, wherein selecting an optimal semantic parse comprises selecting a smallest tree of the one or more parse trees that covers a largest span of the span of words in the natural language temporal utterance;
- and
- resolve a temporal value for the optimal semantic parse, wherein the temporal value comprises at least a calendar date, a calendar range or clock time value converted from the natural language temporal utterance.
Dependencies are inferred from the claim text.