AggregateBuilder builder = new AggregateBuilder();
builder.add(findDescription(ModifierExtractorAnnotator.class));
builder.add(findDescription(DegreeOfRelationExtractorAnnotator.class));
builder.add(findDescription(LocationOfRelationExtractorAnnotator.class));
AnalysisEngine engine = builder.createAggregate();
JCas jCas = engine.newJCas();
// populate the CAS with an example sentence
// TODO: add annotations to support phrase chunk and dependency features
TokenBuilder<BaseToken, Sentence> tokenBuilder =
new TokenBuilder<BaseToken, Sentence>(BaseToken.class, Sentence.class, "partOfSpeech", null);