<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 |
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. |