out.println("The top level annotation");
out.println(annotation.toShorterString());
List<CoreMap> sentences = annotation.get(CoreAnnotations.SentencesAnnotation.class);
for (CoreMap sentence : sentences) {
List<MatchedExpression> matchedExpressions = extractor
.extractExpressions(sentence);
for (MatchedExpression matched:matchedExpressions) {
// Print out matched text and value
out.println("matched: " + matched.getText() + " with value " + matched.getValue());
// Print out token information