ExtractorUnion<ChunkedSentence, ChunkedExtraction> e2;
ExtractorUnion<ChunkedSentence, ChunkedExtraction> e3;
@Before
public void setUp() throws Exception {
RegexExtractor r1 = new RegexExtractor("wants_tok to_tok");
RegexExtractor r2 = new RegexExtractor("go_tok to_tok");
RegexExtractor r3 = new RegexExtractor("to_tok go_tok to_tok");
e1 = new ExtractorUnion<ChunkedSentence, ChunkedExtraction>();
e1.addExtractor(r1);
e1.addExtractor(r2);
e1.addMapper(new MergeOverlappingMapper());