Re: Ruta, Maven and Custom Engines

2022-04-21 Thread Michael Bach
You're right. TYPESYSTEM org.apache.uima.ruta.engine.HtmlTypeSystem seems to work. Cheers, Michael Am 21/04/2022 um 11:47 schrieb Peter Klügl: Hi, ENGINE loads a xml descriptor. In simple Ruta projects they are located in descriptor/utils which would result in 'ENGINE

Re: Ruta, Maven and Custom Engines

2022-04-21 Thread Peter Klügl
Hi, ENGINE loads a xml descriptor. In simple Ruta projects they are located in descriptor/utils which would result in 'ENGINE utils.HtmlAnnotator;'. Loading the xml descriptor from the dependency or even the installed OSGi bundle should also work. I would have to check what the exact problem

Re: Ruta, Maven and Custom Engines

2022-04-21 Thread Michael B.
Hi Peter! Bonus question: how do I get Engines and Type Systems included through maven dependencies to resolve correctly in scripts? For instance: PACKAGE de.miba; ENGINE org.apache.uima.ruta.engine.HtmlAnnotator; ENGINE org.apache.uima.ruta.engine.HtmlConverter; TYPESYSTEM