Name
ap_phrase_chksum — compute the checksum used to deduplicate annotation phrases
Synopsis
integer ap_phrase_chksum(
|
in phrase_utf8 varchar, |
in language varchar); |
Description
ap_phrase_chksum returns the checksum used to
deduplicate phrases inside the annotation engine. Pass the UTF-8 phrase
and its source language; raises SQL state 42000
(APG07) for an unknown language. Requires DBA
privileges.
Parameters
phrase_utf8
The phrase text as a UTF-8 string.
language
Language name recognised by the annotation engine.
Return Types
An integer checksum.