<entry>

Element: entry

Child Elements: headword, synonym

Description: An entry represents an individual entry that is matched in an entity. The entry has one or more attributes such as the actual phrase that is returned (the headword), the case, and so on.

Example:<entry headword="mat" score=".3" case="inherited" debug="inherited">

Attribute

Value

Default

Description

headword

#CDATA

 

The dictionary entry. Headword can be an attribute or a subelement, but it must be one or the other.

score

>= 0

1

Can be used to assign any weightings to the matches.

  • A score of 1 is the default score.
  • A score of 0 always excludes the matching tag from the results, and can be used to specify exceptions to grammar rules.

You can use these weightings for a variety of purposes:

  • They can represent the confidence the grammar author has in the accuracy of the match (where a value of 1 represents certainty, and lower values represent lesser confidence).
  • They can represent the importance of a match - for example, in the sentiment grammars the scoring represents the strength of the sentiment in the match.

Multiple scores are multiplied. For example, if a match on an entity has a score of 1.5, and that entity is used in another entity that also has a score of 0.4, the resulting score is 0.6.

If a minimum score is specified during extraction, only those matches with a sufficiently high score are extracted. You can also display the exact scores of any match during extraction.

NOTE:

Entries and patterns should be assigned a score no lower than 0.01 and no higher than 100.

case

sensitive

1/on/yes/true

insensitive

0/off/no/false

inherited

inherited

Determines whether a match is case sensitive. The value inherited accepts the case matching mode of the entryset parent.

debug

true

1/on/yes/true

false

0/off/no/false

inherited

inherited

Displays verbose information for the entry element during compilation. The value inherited accepts the debug mode of the entryset parent.

_FT_HTML5_bannerTitle.htm