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:

Example

With the following entities, Georgia might return Georgia (name), Georgia (US state) or Georgia (country). By default, Eduction Server 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>
NOTE:

You can override the value of this parameter for specific actions by setting the AllowMultipleResults action parameter.

Type: String
Default: No
Required: No
Configuration Section: Eduction
Example: AllowMultipleResults=All
See Also: EntityN
NonGreedyMatch

_HP_HTML5_bannerTitle.htm