@@ -0,0 +1,903 @@
+package pipelines;%0A%0Aimport static org.apache.uima.fit.factory.AnalysisEngineFactory.createEngineDescription;%0Aimport static org.apache.uima.fit.factory.CollectionReaderFactory.createReaderDescription;%0Aimport static org.apache.uima.fit.pipeline.SimplePipeline.runPipeline;%0A%0Aimport java.io.FileOutputStream;%0A%0Aimport org.apache.uima.fit.factory.TypeSystemDescriptionFactory;%0Aimport org.apache.uima.resource.metadata.TypeSystemDescription;%0A%0Aimport annotators.BoundariesAnnotator;%0Aimport de.tudarmstadt.ukp.dkpro.core.io.text.TextReader;%0A%0Apublic class ModelCreator %7B%0A%09%0A%09public static void main(String%5B%5D args) throws Exception %7B%0A%09    runPipeline(%0A%09        createReaderDescription(TextReader.class,%0A%09            TextReader.PARAM_SOURCE_LOCATION, %22src/main/resources/train/*.txt%22,%0A%09            TextReader.PARAM_LANGUAGE, %22fr%22),%0A%09            createEngineDescription(BoundariesAnnotator.class)%0A%09        );%0A%09  %7D%0A%0A%7D%0A

create the model builder