| Package | Description | 
|---|---|
| gate.gui | |
| gate.util | 
| Modifier and Type | Field and Description | 
|---|---|
| protected List<AnnotationDiffer.Pairing> | AnnotationDiffGUI. pairings | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AnnotationDiffer.PairingImplRepresents a pairing of a key annotation with a response annotation and
 the associated score for that pairing. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected List<AnnotationDiffer.Pairing> | AnnotationDiffer. finalChoicesA list with the choices selected for the best result. | 
| protected List<List<AnnotationDiffer.Pairing>> | AnnotationDiffer. keyChoicesA list of lists representing all possible choices for each key | 
| protected List<AnnotationDiffer.Pairing> | AnnotationDiffer. possibleChoicesAll the posible choices are added to this list for easy iteration. | 
| protected List<List<AnnotationDiffer.Pairing>> | AnnotationDiffer. responseChoicesA list of lists representing all possible choices for each response | 
| Modifier and Type | Method and Description | 
|---|---|
| List<AnnotationDiffer.Pairing> | AnnotationDiffer. calculateDiff(Collection<Annotation> key,
             Collection<Annotation> response)Computes a diff between two collections of annotations. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | AnnotationDiffer. addPairing(AnnotationDiffer.Pairing pairing,
          int index,
          List<List<AnnotationDiffer.Pairing>> listOfPairings)Adds a new pairing to the internal data structures. | 
| int | AnnotationDiffer.PairingScoreComparator. compare(AnnotationDiffer.Pairing first,
       AnnotationDiffer.Pairing second)Compares two choices:
 the better score is preferred;
 for the same score the better type is preferred (exact matches are
 preffered to partial ones). | 
| int | AnnotationDiffer.PairingOffsetComparator. compare(AnnotationDiffer.Pairing first,
       AnnotationDiffer.Pairing second)Compares two choices based on start offset of key (or response
 if key not present) and type if offsets are equal. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | AnnotationDiffer. addPairing(AnnotationDiffer.Pairing pairing,
          int index,
          List<List<AnnotationDiffer.Pairing>> listOfPairings)Adds a new pairing to the internal data structures. | 
Copyright © 2024 GATE. All rights reserved.