# US 2017/0293682 A1 · Aggregating results from named entity recognition services

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0293682 A1
- Document ID: US20170293682A1
- Status: Published application
- Kind: A1
- Application number: 15/635,098
- Filed: 2017-06-27
- Published: 2017-10-12
- Earliest claimed: 2013-11-29
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Katja Pfeifer; Johannes Meinecke
- Web page: https://patentgrep.com/patent/US20170293682A1

## CPC

- G06F 16/3344: {using natural language analysis}
- G06F 16/3331: Query processing
- G06F 16/338: Presentation of query results
- G06F 40/295: Named entity recognition
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An aggregation service aggregates extraction results from diverse named entity recognition (“NER”) services, which can help improve the quality of extracted information. In some cases, the aggregation service considers differences in entity type classifications when aggregating extraction results from different NER services. The aggregation service can also consider performance characteristics (e.g., error rates) for the different NER services. For example, the aggregation service receives extraction results generated for a document corpus according to an entity type schema for each of multiple different NER services, then aggregates the extraction results based at least in part on relations between entity types for the NER services. For a given annotation area, the computing system can identify hypotheses and rank the hypotheses according to an aggregation approach. For some types of aggregation approach, the computing system uses weight values, error path values and/or other performance characteristics determined during training for the NER services.

## Claims

### Claim at position 1

1-25. (canceled)

### Claim 26

In a computing system, a method comprising:
receiving parameters of an extraction task, the parameters of the extraction task specifying a query entity type and a plurality of documents to be analyzed;
providing the plurality of documents specified in the extraction task to each of multiple different named entity recognition (“NER”) services;
for each of the multiple different NER services, receiving extraction results generated for the plurality of documents specified in the extraction task according to an entity type schema;
identifying one or more relevant annotations among multiple annotations in the extraction results, wherein relevance of a given annotation of the multiple annotations depends on a relation between an entity type for the given annotation and the query entity type specified for the extraction task;
marking the one or more relevant annotations in the extraction results;
aggregating the one or more relevant annotations by, for a selected annotation area of a document of the plurality of documents, determining whether a first annotation of the one or more relevant annotations associated with a first NER service of the multiple NER services is located in the same region of the annotation area as a second annotation of the one or more relevant annotations associated with a second NER service of the multiple NER services, at least one of the first and second NER services having multiple annotations within the selected annotation area; and
returning to a requesting user or a requesting application at least a portion of the aggregated execution results.

### Claim 27 (depends on 26)

The method of claim 26, further comprising:
identifying one or more annotation areas in a document of the plurality of documents specified in the extraction task, each of the one or more annotation areas including one or more annotations in the extraction results for the multiple NER services.

### Claim 28 (depends on 26)

The method of claim 26, further comprising, for each of one or more hypotheses:
determining whether an annotation set associated with the hypothesis is region-consistent with an annotation set associated with a NER service of the multiple different NER services by determining whether the hypothesis annotation set and the NER annotation set have the same number of annotations with an annotation area and all of those annotations form pairs of region-consistent annotations; and
determining whether the hypothesis annotation set and the NER annotation set have the same number of annotations within an annotation area and all of those annotations form pairs of type-consistent annotations.

### Claim 29 (depends on 28)

The method of claim 28, further comprising:
determining one or more hypotheses, each hypothesis comprising an annotation set comprising a plurality of annotations, each annotation comprising a type or subtype; and
ranking each of the one or more hypotheses based at least in part on a difference in type-consistency between the one or more hypotheses, the ranking for a hypothesis being based at least in part on the agreement between the hypothesis and the annotation set for each of a plurality of the multiple different NER services.

### Claim 30 (depends on 29)

The method of claim 29, further comprising:
ranking each of the one or more hypotheses based at least in part on a difference in region-consistency between the one or more hypotheses, the ranking for a hypothesis being based at least in part on the agreement between the hypothesis and the annotation set of each of a plurality of the multiple NER services.

### Claim 31 (depends on 26)

The method of claim 26, further comprising:
determining one or more hypotheses, each hypothesis comprising an annotation set comprising a plurality of annotations, each annotation comprising a type or subtype and a location; and
ranking each of the one or more hypotheses based at least in part on a difference in region-consistency between the one or more hypotheses, the ranking for a hypothesis being based at least in part on the agreement between the hypothesis and the annotation set of each of a plurality of the multiple NER services.

### Claim 32 (depends on 31)

The method of claim 31, wherein determining the one more hypotheses comprises determining a plurality of hypotheses.

### Claim 33

One or more tangible, non-transitory, computer-readable media storing computer-executable instructions for causing a computing system programmed thereby to perform a method comprising:
receiving parameters of an extraction task, the parameters of the extraction task specifying at least query entity type;
providing a plurality of documents to each of multiple different named entity recognition (“NER”) services;
for each of the multiple different NER services, receiving extraction results generated for the plurality of documents specified in the extraction task according to an entity type schema;
identifying one or more relevant annotations among multiple annotations in the extraction results, wherein relevance of a given annotation of the multiple annotations depends on a relation between an entity type for the given annotation and the query entity type specified for the extraction task, at least one of the multiple different NER services having multiple annotations for a given annotation area;
marking the one or more relevant annotations in the extraction results;
aggregating the extraction results based at least in part on differences between entity type schemas for the multiple different NER services; and
returning to a requesting user or a requesting application at least a portion of the aggregated execution results.

### Claim 34 (depends on 33)

The one or more tangible, non-transitory, computer-readable media of claim 33, the method further comprising:
identifying one or more annotation areas in a document of the plurality of documents, each of the one or more annotation areas including one or more annotations in the extraction results for the multiple NER services.

### Claim 35 (depends on 33)

The one or more tangible, non-transitory, computer-readable media of claim 33, the method further comprising, for each of one or more hypotheses:
determining whether an annotation set associated with the hypothesis is region-consistent with an annotation set associated with a NER service of the multiple different NER services by determining whether the hypothesis annotation set and the NER annotation set have the same number of annotations with an annotation area and all of those annotations form pairs of region-consistent annotations; and
determining whether the hypothesis annotation set and the NER annotation set have the same number of annotations within an annotation area and all of those annotations form pairs of type-consistent annotations.

### Claim 36 (depends on 35)

The one or more tangible, non-transitory, computer-readable media of claim 35, further comprising:
determining one or more hypotheses, each hypothesis comprising an annotation set comprising a plurality of annotations, each annotation comprising a type or subtype; and
ranking each of the one or more hypotheses based at least in part on a difference in type-consistency between the one or more hypotheses, the ranking for a hypothesis being based at least in part on the agreement between the hypothesis and the annotation set for each of a plurality of the multiple different NER services.

### Claim 37 (depends on 36)

The one or more tangible, non-transitory, computer-readable media of claim 36, wherein determining one or more hypotheses comprises determining a plurality of hypotheses.

### Claim 38 (depends on 36)

The one or more tangible, non-transitory, computer-readable media of claim 36, the method further comprising:
ranking each of the one or more hypotheses based at least in part on a difference in region-consistency between the one or more hypotheses, the ranking for a hypothesis being based at least in part on the agreement between the hypothesis and the annotation set of each of a plurality of the multiple NER services.

### Claim 39 (depends on 33)

The one or more tangible, non-transitory, computer-readable media of claim 33, further comprising:
determining one or more hypotheses, each hypothesis comprising an annotation set comprising a plurality of annotations, each annotation comprising a location; and
ranking each of the one or more hypotheses based at least in part on a difference in region-consistency between the one or more hypotheses, the ranking for a hypothesis being based at least in part on the agreement between the hypothesis and the annotation set of each of a plurality of the multiple NER services.

### Claim 40

A computing system that implements an aggregation service, the computing system comprising one or more hardware processors and one or more memory coupled to the one or more hardware processors, the one or more hardware processors configured to execute instructions for:
receiving parameters of an extraction task, the parameters of the extraction task specifying a query entity type;
providing a plurality of documents to each of multiple different named entity recognition (“NER”) services;
for each of the multiple different NER services, receiving extraction results generated for the plurality of documents according to an entity type schema;
identifying one or more relevant annotations among multiple annotations in the extraction results, wherein relevance of a given annotation of the multiple annotations depends on a relation between an entity type for the given annotation and the query entity type specified for the extraction task;
marking the one or more relevant annotations in the extraction results; and
aggregating the one or more relevant annotations by, for a selected annotation area of a document of the plurality of documents, determining whether a first annotation of the one or more relevant annotations associated with a first NER service of the multiple NER services is located in the same region of the annotation area as a second annotation of the one or more relevant annotations associated with a second NER service of the multiple NER services.

### Claim 41 (depends on 40)

The computing system of claim 40, the instructions further comprising:
identifying one or more annotation areas in a document of the plurality of documents, each of the one or more annotation areas including one or more annotations in the extraction results for the multiple NER services.

### Claim 42 (depends on 40)

The computing system of claim 40, the instructions further comprising, for each of one or more hypotheses:
determining whether an annotation set associated with the hypothesis is region-consistent with an annotation set associated with a NER service of the multiple different NER services by determining whether the hypothesis annotation set and the NER annotation set have the same number of annotations with an annotation area and all of those annotations form pairs of region-consistent annotations; and
determining whether the hypothesis annotation set and the NER annotation set have the same number of annotations within an annotation area and all of those annotations form pairs of type-consistent annotations.

### Claim 43 (depends on 42)

The computing system of claim 42, the instructions further comprising:
determining a plurality of hypotheses, each hypothesis comprising an annotation set comprising a plurality of annotations, each annotation comprising a type or subtype; and
ranking each of the plurality of hypotheses based at least in part on a difference in type-consistency between the plurality of hypotheses, the ranking for a hypothesis being based at least in part on the agreement between the hypothesis and the annotation set for each of a plurality of the multiple different NER services.

### Claim 44 (depends on 43)

The computing system of claim 43, the instructions further comprising:
ranking each of the plurality of hypotheses based at least in part on a difference in region-consistency between the plurality of hypotheses, the ranking for a hypothesis being based at least in part on the agreement between the hypothesis and the annotation set of each of a plurality of the multiple NER services.

### Claim 45 (depends on 40)

The computing system of claim 40, the instructions further comprising:
determining a plurality of hypotheses, each hypothesis comprising an annotation set comprising a plurality of annotations, each annotation comprising a type or subtype and a location; and
ranking each of the plurality of hypotheses based at least in part on a difference in region-consistency between the plurality of hypotheses, the ranking for a hypothesis being based at least in part on the agreement between the hypothesis and the annotation set of each of a plurality of the multiple NER services.
