3.5. Merging units with annotations¶
Annotations can also be used for merging units (that is, columns) during counting operations in particular. Consider again the example of annotations extracted from XML data developed here. The segmentation produced by Extract XML can be sent to an instance of Count as on the schema shown on figure 1 below.
If the type annotation key is selected in section Units of widget Count‘s interface (see figure 2 below), the annotation values correponding to this key (namely part of speech) will be counted in place of the segments’ content.

Figure 2: Merging units using annotation values.
The resulting table is as follows:
NOUN | DET | PREP |
---|---|---|
3 | 1 | 1 |
Of course, annotations may be used to merge units and contexts simultaneously.