@Test
public void testMatcher2() throws SequenceException {
String patternStr = "B-NP_n I-NP_n*";
LayeredTokenPattern pat = new LayeredTokenPattern(patternStr);
LayeredTokenMatcher m = pat.matcher(seq);
assertTrue(m.find());
assertEquals(2, m.start());
assertEquals(4, m.end());
assertTrue(m.find());
assertEquals(5, m.start());