Dependency graph based natural language processing
First Claim
1. A system comprising:
- a processor;
a data reader coupled to the processor to receive a request to process input data to generate tags, the tags being one of semantic tags and syntactic tags;
a natural language processor comprising natural language processing operations to tag the input data with the tags to provide for interpreting of the input data, wherein the natural language processing operations include depender operations and dependee operations, and wherein the depender operations require tagged output of the dependee operations as input;
a dependency graph generator, coupled to the processor to;
identify dependees of the tags, and further dependees of the dependees of the tags, a dependee being one of a tag and a natural language operation upon which the tag depends, wherein at least one of natural language processing operations and resources required to provide an input for a natural language operation to generate the tags is identified for each dependent and further dependents; and
create a dependency graph, based on the identified dependents and the further dependents, the dependency graph including the natural language processing operations, corresponding dependents, and corresponding further dependents arranged in an order of and linked by their dependencies; and
a pipeline generator coupled to the processor to,generate a pipeline including a series of natural language operations ordered as they appear in the dependency graph such that the natural language operations for dependee tags are processed before any of their associated depender tags, a depender tag being a tag which depends on a dependee tag, wherein the pipeline includes a plurality of natural language processing operations to be executed in a predefined order to generate the tags; and
provide the pipeline to generate the tags for interpreting the input content.
1 Assignment
0 Petitions
Accused Products
Abstract
Examples of automatically generating natural language pipelines to process an input to generate tags, semantic or syntactic, are described. In an example, on receiving a request to process input data to generate tags, a dependency graph, based on identified dependees and further dependees may be created to satisfy the request, the dependency graph including natural language operations arranged in order of their dependencies on each other. Based on the dependency graph, a pipeline for the tags may be automatically generated, which includes a series of natural language operations such that the operations for dependee tags are processed before any of their associated depender tags. Further, the dependency graph and the automated pipeline generation allows for automated optimization of the pipeline, training, re-training, testing and regression testing of the semantic tags and supporting machine learning models and provides a framework to efficiently manage the sharing and reuse of semantic understanding operations.
34 Citations
20 Claims
-
1. A system comprising:
-
a processor; a data reader coupled to the processor to receive a request to process input data to generate tags, the tags being one of semantic tags and syntactic tags; a natural language processor comprising natural language processing operations to tag the input data with the tags to provide for interpreting of the input data, wherein the natural language processing operations include depender operations and dependee operations, and wherein the depender operations require tagged output of the dependee operations as input; a dependency graph generator, coupled to the processor to; identify dependees of the tags, and further dependees of the dependees of the tags, a dependee being one of a tag and a natural language operation upon which the tag depends, wherein at least one of natural language processing operations and resources required to provide an input for a natural language operation to generate the tags is identified for each dependent and further dependents; and create a dependency graph, based on the identified dependents and the further dependents, the dependency graph including the natural language processing operations, corresponding dependents, and corresponding further dependents arranged in an order of and linked by their dependencies; and a pipeline generator coupled to the processor to, generate a pipeline including a series of natural language operations ordered as they appear in the dependency graph such that the natural language operations for dependee tags are processed before any of their associated depender tags, a depender tag being a tag which depends on a dependee tag, wherein the pipeline includes a plurality of natural language processing operations to be executed in a predefined order to generate the tags; and provide the pipeline to generate the tags for interpreting the input content. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method comprising:
-
receiving a request to process input data to generate tags, the tags being one of semantic tags and syntactic tags; identifying dependees of the tags and further dependees of the dependees of the tags, a dependee being one of a tag and a natural language operation upon which the tag depends, wherein at least one of natural language processing operations and resources required to provide an input for a natural language operation to generate the tags is identified for each dependee and further dependees, wherein the natural language processing operations include depender operations and dependee operations, and wherein the depender operation require tagged output of the dependee operations as input; creating a dependency graph, based on the identified dependents and the further dependents, the dependency graph including the natural language processing operations, corresponding dependents, and corresponding further dependents arranged in an order of and linked by their dependencies; and generating a pipeline including a series of natural language operations in the order as they appear in the dependency graph such that the natural language operations for dependee tags are processed before any of their associated depender tags, a depender tag being a tag which depends on a dependee tag, wherein the pipeline includes a plurality of natural language processing operations to be executed in a predefined order to generate the tags; and providing the pipeline to generate the tags for interpreting the input content. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A non-transitory computer readable medium including machine readable instructions that are executable by a processor to:
-
receive a request to process input data to generate tags, the tags being one of semantic tags and syntactic tags; identify dependees of the tags and further dependees of the dependees of the tags, wherein at least one of natural language processing operations and resources required to provide an input for a natural language operation to generate the tags is identified for each dependent and further dependents, wherein the natural language processing operations include depender operations and dependee operations, and wherein the depender operation require tagged output of the dependee operations as input; create a dependency graph, based on the identified dependents and the further dependents, the dependency graph including the natural language processing operations, corresponding dependents, and corresponding further dependents arranged in an order of and linked by their dependencies; and generate a pipeline including a series of natural language operations ordered as they appear in the dependency graph such that the natural language operations for dependee tags are processed before any of their associated depender tags, wherein the pipeline includes a plurality of natural language processing operations to be executed in a predefined order to generate the tags; and provide the pipeline to generate the tags for interpreting the input content. - View Dependent Claims (17, 18, 19, 20)
-
Specification