use of annis.service.objects.AnnisResultImpl in project ANNIS by korpling.
the class LegacyGraphConverter method convertToResultSet.
public static AnnisResultSet convertToResultSet(SaltProject p) {
List<AnnotationGraph> annotationGraphs = convertToAOM(p);
AnnisResultSetImpl annisResultSet = new AnnisResultSetImpl();
for (AnnotationGraph annotationGraph : annotationGraphs) {
annisResultSet.add(new AnnisResultImpl(annotationGraph));
}
return annisResultSet;
}
Aggregations