public MatchedExpression(Interval <int> charOffsets, Interval <int> tokenOffsets, MatchedExpression.SingleAnnotationExtractor extractFunc, double priority, double weight)
 {
     this.charOffsets  = charOffsets;
     this.tokenOffsets = tokenOffsets;
     this.chunkOffsets = tokenOffsets;
     this.extractFunc  = extractFunc;
     this.priority     = priority;
     this.weight       = weight;
 }
 public MatchedExpression(MatchedExpression me)
 {
     // end static class SingleAnnotationExtractor
     this.annotation  = me.annotation;
     this.extractFunc = me.extractFunc;
     this.text        = me.text;
     this.value       = me.value;
     //this.attributes = me.attributes;
     this.priority     = me.priority;
     this.weight       = me.weight;
     this.order        = me.order;
     this.charOffsets  = me.charOffsets;
     this.tokenOffsets = me.tokenOffsets;
     this.chunkOffsets = me.tokenOffsets;
 }