String str = matcher.readMatchingFlags("Lazy dog");
assertEquals("Lazy dog", str);
assertTrue(matcher.isEmpty());
assertEquals("", matcher.toString());
sentence = matcher.parseSentence(str, new ConversationContext());
assertFalse(sentence.hasError());
assertEquals("lazy dog/SUB-ANI", sentence.toString());
str = matcher.readMatchingFlags("|TYPE|abcdef/OBJ");
assertEquals("abcdef/OBJ", str);