use of annis.service.objects.AnnisResultSetImpl 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