Open topic with navigation

# AllowMultipleResults

This parameter determines how many results to return in cases where multiple matches begin at the same offset in the input text. By default, only one result can be returned, but you can use the `AllowMultipleResults` parameter if you want to return other matches (either from the same entity or from other entities).

Set `AllowMultipleResults` to one of the following options:

- `All` or `True`. This option returns all results at a specified offset.
- `No` or `False`. Only one result at a specified offset is returned.
- `OnePerEntity`. Up to one result at a specified offset per entity can be returned.

NOTE:

If you are writing the results of Eduction to document fields in IDX format, and you have allowed multiple results for a single entity by setting this parameter to `All` or `True`, you should include the relevant fields in the parameter AllowDuplicates.

## Example

With the following entities, `Georgia` might return `Georgia (name)`, `Georgia (US state)` or `Georgia (country)`. By default, Eduction returns only one match. This is appropriate if it is not important to you that Georgia has multiple interpretations. Set the `AllowMultipleResults` configuration parameter to `All` to return all three matches. Set the `AllowMultipleResults` configuration parameter to `OnePerEntity` to return one match from each entity. This is appropriate if it is important to you that Georgia is a place and a name, but not that it refers to multiple places.

    <entity name="names">
      <entry headword="Georgia (name)">
        <synonym>Georgia</synonym>
      </entry>
      <entry headword="Henry (name)">
        <synonym>Henry</synonym>
      </entry>
    </entity>

    <entity name="places">
      <entry headword="Delaware (US state)">
        <synonym>Delaware</synonym>
      </entry>
      <entry headword="Georgia (US state)">
        <synonym>Georgia</synonym>
      </entry>
      <entry headword="Georgia (country)">
        <synonym>Georgia</synonym>
      </entry>
      <entry headword="Mongolia (country)">
        <synonym>Mongolia</synonym>
      </entry>
    </entity>

Type: | String
Default: | No
Required: | No
Configuration Section: | Any section that you have defined for Eduction settings
Example: | `AllowMultipleResults=All`
See Also: | AllowDuplicates EntityN EntityFieldN NonGreedyMatch

© 2013-2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm