Class: MatchId

MatchId()

Interpreter for match ID strings.

The schema is:

  • when there's a defining annotation UID:
    g_ag_id;uid
    e.g. g_243;em_12_20035
  • when there's anchor IDs:
    g_ag_id;startuid-enduid
    e.g. g_243;n_72700-n_72709
  • when there's anchor offsets:
    g_ag_id;startoffset-endoffset
    e.g. g_243;39.400-46.279
  • when there's a participant/speaker number, it will be appended:
    ...;p_speakernumber
    e.g. g_243;n_72700-n_72709;p_76
  • matching subparts can be identified by appending a list of annotation UIDs for insertion into #mMatchAnnotationUids, the keys being enclosed in square brackets:
    ...;[key]=uid;[key]=uid
    e.g. g_243;n_72700-n_72709;[0,0]=ew_0_123;[1,0]ew_0_234
  • a target annotation by appending a uid prefixed by #=:
    ...;#=uid
    e.g. g_243;n_72700-n_72709;#=ew_0_123
  • other items (search name or prefix) could then come after all that, and key=value pairs:
    ...;key=value
    e.g. g_243;n_72700-n_72709;ew_0_123-ew_0_234;prefix=024-;name=the_aeiou
  • These can be something like:

    • g_3;em_11_23;n_19985-n_20003;p_4;#=ew_0_12611;prefix=001-;[0]=ew_0_12611
    • AgnesShacklock-01.trs;60.897-67.922;prefix=001-
    • AgnesShacklock-01.trs;60.897-67.922;m_-1_23

Constructor

new MatchId()

String constructor.
Source:

Members

endAnchorId

ID of the end anchor.
Source:

endOffset

Offset of the end anchor.
Source:

participantId

ID of the participant.
Source:

prefix

Match prefix for fragments.
Source:

startAnchorId

ID of the start anchor.
Source:

startOffset

Offset of the start anchor.
Source:

targetId

ID of the match target annotation.
Source:

transcriptId

The transcript identifier.
Source:

utteranceId

ID of the match utterance.
Source: