If the line substring matches the regexp,
it adds a " featurename=1" to the string buffer
It is useful for producing external datasets in Minorthird format
Train a AnnotatorLearner and return the learned
Annotator, using some unspecified source of information to
get AnnotationExample's to train the learner.