/** * TODO #176 use the document Id once it it available in the CAS * * Get the predictions of a given window, where the outer list is a list of tokens and the inner * list is a list of predictions for a token */ public SuggestionDocumentGroup getPredictions(String aDocumentName, AnnotationLayer aLayer, int aWindowBegin, int aWindowEnd) { return new SuggestionDocumentGroup(getFlattenedPredictions(aDocumentName, aLayer, aWindowBegin, aWindowEnd)); }