-
Notifications
You must be signed in to change notification settings - Fork 6
module__org.bibliome.alvisnlp.modules.RegExp
#org.bibliome.alvisnlp.modules.RegExp
Matches a regular expression on sections contents and create an annotation for each match.
org.bibliome.alvisnlp.modules.RegExp searches for pattern in the contents of sections, then creates an annotation for each match. The created annotations will span on the entire match. The created annotations will be added in the layer named targetLayerName of the corresponding section. If pattern contains groups, then the pattern elements inside groups will be matched but the grouping will not be taken into account in the creation of the annotation.
The created annotations will automatically have all features defined in constantAnnotationFeatures.
Optional
Type: Pattern
Regular expression to match.
Optional
Type: String
Name of the layer where to store matches.
Optional
Type: Mapping
Constant features to add to each annotation created by this module.
Default value: true
Type: Expression
Only process document that satisfy this filter.
Default value: true
Type: Expression
Process only sections that satisfy this filter.