question: protected AbstractRegexNPAnnotator ( String pattern , boolean caseSensitive , double confidence ) { this ( Pattern . compile ( pattern , caseSensitive ? 0 : Pattern . CASE_INSENSITIVE ) , 0 , confidence ) ; }
target:  New instance, based on the supplied pattern. Uses the whole matched regex as the entity text.