Factory.deleteResource(corpus);
Factory.deleteResource(pipeline);
// extract tokens from text
ArrayList<Annotation> tokens = new ArrayList(inputAS.get(elementType));
OffsetComparator oc = new OffsetComparator();
Collections.sort(tokens, oc);
ArrayList<Element<Object>> elements = new ArrayList<Element<Object>>();
Alphabet labelAlphabet = tagger.getYAlphabet();
SparseVector[] x;
Object[] y;