Named Entity Recognition 26.1
Named Entity Recognition User and Programming Guide

# <synonym>

Element: synonym

Child Elements: none

Description: A synonym is an alternative sequence of characters to a headword. Synonym matching produces an entity match, but returns the headword in place of the matching synonym. For example, if you search for dog with the synonym canine enabled, matches for canine return as if they matched dog.

Example:

    <entry headword="Vatican City">
       <synonym score="1.2">The Vatican</synonym>
       <synonym score="1.1">Holy See</synonym>
       <synonym>Città del Vaticano</synonym>
       <synonym>Citta del Vaticano</synonym>
    </entry>

Attribute | Value | Default | Description
--- | --- | --- | ---
`<element contents>` | <the synonym> |  | The synonym value.
`case` | sensitive insensitive inherited | inherited | Determines whether a match is case sensitive. The value `inherited` accepts the case matching mode of the <entry> parent.
`score` | >= 0 | the same as for the parent `<entry>` | The score value for the synonym. By default, all synonyms are assigned the same score as the parent entry. If you change the score, the synonym match returns the parent entry as usual, but with the adjusted score.

Copyright 2013-2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Named Entity Recognition 26.1

Topic Title: <synonym>