Hi,
unfortunately, Ruta.createAnalysisEngineDescription() does not provide
the functionality to create a valid descriptor for a multi-script
analysis engine. That should be changed and/or the documentation should
be extended/updated.
Here are some option right now (not tested yet, but I will test
Thank you, Peter.
Maybe that is the case. I am not setting any parameter, as follows:
TypeSystemDescription tsd =
> TypeSystemDescriptionFactory.createTypeSystemDescription("MainTypeSystem");
> URL url = Resources.getResource("Main.ruta");
> String scriptText = Resources.toString(url, Charsets.UT
Hi,
I must admit that I do not know the source of the problem yet.
Either RutaParser.file_input() (or RutaEngine.loadScript/IS()) returns
null, but this should cause some other exceptions. Or the linking of
mentioned/imported script names in the ruta file does not match the
names in the configura
Thank you, Peter.
I was using 2.2.1 and upgraded to 2.3.0 RC2 as you advised, but the error
persists. Now I will post the complete stacktrace:
Mai 20, 2015 6:56:23 PM
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl
callAnalysisComponentProcess(417)
GRAVE: Exception occurred
org.
Hi,
I assume that you use UIMA Ruta 2.2.1?
Are there any prior exception?
I had a similar problem, which should be fixed now. Could be related to
the bugs reported in UIMA-4045 or UIMA-4046.
Normally, I would assume that there is a syntax error in the additional
script causing the module to b
Hello,
We have a Main RUTA script that imports a few children scripts, as follows:
PACKAGE cogroo.ruta;
> TYPESYSTEM BaseTypeSystem;
> IMPORT opennlp.uima.Token FROM TypeSystem AS cgToken;
> IMPORT opennlp.uima.Sentence FROM TypeSystem AS cgSentence;
> SCRIPT Crase;
> SCRIPT Base;
> Document{-> C