@Test
public void testExtract1() throws Exception {
String pattern = "(" + verb + np + prep + "|" + verb + ")+";
RegexExtractor extractor = new RegexExtractor(pattern);
Iterable<ChunkedExtraction> extrIter = extractor.extract(sent1);
List<ChunkedExtraction> extrs = new ArrayList<ChunkedExtraction>();
Iterables.addAll(extrs, extrIter);
Assert.assertEquals(1, extrs.size());
ChunkedExtraction extr = extrs.get(0);