@@ -0,0 +1,1361 @@
+package de.unistuttgart.ims.drama.core.ml;%0A%0Aimport java.io.IOException;%0Aimport java.util.Arrays;%0A%0Aimport org.apache.uima.UIMAException;%0Aimport org.apache.uima.fit.factory.AnalysisEngineFactory;%0Aimport org.apache.uima.fit.factory.CollectionReaderFactory;%0Aimport org.apache.uima.fit.pipeline.SimplePipeline;%0Aimport org.apache.uima.resource.ResourceInitializationException;%0Aimport org.junit.Test;%0A%0Aimport de.tudarmstadt.ukp.dkpro.core.io.xmi.XmiReader;%0Aimport de.tudarmstadt.ukp.dkpro.core.io.xmi.XmiWriter;%0Aimport de.unistuttgart.ims.drama.api.DramatisPersonae;%0Aimport de.unistuttgart.ims.drama.api.Figure;%0A%0Apublic class TestPrepareClearTk %7B%0A%09@Test%0A%09public void testPrepareClearTk() throws ResourceInitializationException, UIMAException, IOException %7B%0A%09%09SimplePipeline.runPipeline(%0A%09%09%09%09CollectionReaderFactory.createReaderDescription(XmiReader.class, XmiReader.PARAM_SOURCE_LOCATION,%0A%09%09%09%09%09%09%22src/main/resources/gender/training/11d2m.0.xmi%22, XmiReader.PARAM_LENIENT, true),%0A%09%09%09%09AnalysisEngineFactory.createEngineDescription(PrepareClearTk.class,%0A%09%09%09%09%09%09PrepareClearTk.PARAM_ANNOTATION_TYPE, DramatisPersonae.class,%0A%09%09%09%09%09%09PrepareClearTk.PARAM_SUBANNOTATIONS, Arrays.asList(Figure.class.getName()),%0A%09%09%09%09%09%09PrepareClearTk.PARAM_VIEW_NAME, %22DP%22),%0A%09%09%09%09AnalysisEngineFactory.createEngineDescription(XmiWriter.class, XmiWriter.PARAM_TARGET_LOCATION,%0A%09%09%09%09%09%09%22target/%22));%0A%09%7D%0A%7D%0A

Test class