Configuration : Appendix - Semantic Resources Reference : KeepFirst
 
KeepFirst
com.exalead.linguistic.v10.KeepFirst
Selects the first N occurrences or values of an annotation and remove all others
Attributes:
Name
Type
Default value
Description
annotation
string
The annotation to find
contexts
string
Keeps the first N annotation occurrences/values in each of these contexts
howMany
int
1
How many annotation occurrences/values are kept
what
enum(occurrences, values)
occurrences
Defines what must be kept: first N annotation 'occurrences' or 'values'.