Re: How to install the UIMA Eclipse Plugins Offline

2017-07-27 Thread Peter Klügl
Some additional comments: - The uima bundles might require additional features which are not part of the UIMA update site and which are not provided by all vanilla Eclipse installations, EMF and DLTK. This could result in failing to install the features using only a local update site. - Copying

[ANNOUNCE] Apache UIMA Ruta 2.6.1 released

2017-07-24 Thread Peter Klügl
/ruta-2.6.1/issuesFixed/jira-report.html More information about UIMA Ruta can be found here: http://uima.apache.org/ruta.html - Peter Klügl, for the Apache UIMA development team signature.asc Description: OpenPGP digital signature

Re: UIMA Ruta use of features in a block statement

2017-07-14 Thread Peter Klügl
Hi Am 13.07.2017 um 10:31 schrieb Sumit Madan: > I'll take a look. Could take a few days until I get back to you. > > No hurry as it is not urgent. > It's hard to reproduce the problem using the xmis since I do not have the typesystems. I do not see any problems in the Applied Rules view. Maybe

Re: UIMA Ruta use of features in a block statement

2017-07-13 Thread Peter Klügl
Hi, Am 12.07.2017 um 18:35 schrieb Sumit Madan: > Am 06.07.2017 um 18:00 schrieb Peter Klügl: >> Hi, > > Hi Peter, > >> I cannot reproduce the problem. So you have maybe a small runnable test? > > I've created a small runnable test with DKPro (1.8.0) and Ruta > (

Re: UIMA Ruta use of features in a block statement

2017-07-06 Thread Peter Klügl
Hi, I cannot reproduce the problem. So you have maybe a small runnable test? Best, Peter Am 31.05.2017 um 14:18 schrieb Sumit Madan: > Am 31.05.2017 um 13:26 schrieb Sumit Madan: >> Am 31.05.2017 um 09:59 schrieb Peter Klügl: >>> Hi, >> >> Hi Peter, >>

Re: Ruta problem with spaces and special chars

2017-07-04 Thread Peter Klügl
onFS detectedValue = cas.getCas().createAnnotation(detectedValueType, 9, 12); cas.addFsToIndexes(detectedValue); // Execute Ruta AnalysisEngineDescription ruta = createEngineDescription(RutaEngine.class, RutaEngine.PARAM_RULES, rutaRule); AnalysisEngine pipe = UIMAFramework.produce

Re: Ruta problem with spaces and special chars

2017-07-03 Thread Peter Klügl
Hi, I think this mailing list does not allow mail attachments, at least I do not see any. Can you upload the tests anywhere and post the links here? Or you can send the test directly to me. Or you can create a Jira issue and attach them there:

Re: Annotation Test in Ruta, import error

2017-06-25 Thread Peter Klügl
r the script that I want to test with: Can you post a link to the screenshot or send it directly to my email address? Best, Peter Images intégrées 1 Thank you, Sincerely, Mary Collins 2017-06-20 16:43 GMT+02:00 Peter Klügl <peter.klu...@averbis.com <mailto:peter.klu...@averbis.c

Re: Global variables containing types become null after their assignment scope.

2017-06-18 Thread Peter Klügl
Hi, the difference is how the value of the variable is used. A type expression does not have a covered text, so the type is just some something that point to some annotation(s) in a local context. In the first example, the "rootGovernor" type variables is resolved against one annotation

Re: How to identify a sentence in UIMA ruta ?

2017-06-14 Thread Peter Klügl
Hi, you are welcome to ask such questions here. I'd recommend using two rules here: ChinesePunc #{-> MARK(MySentence)} ChinesePunc; #{-> MARK(MySentence)} ChinesePunc; The second rule simply matches from the beginning until the first occurrence of ChinesePunc. You can do that also with

Re: How to use Type comparison?

2017-06-14 Thread Peter Klügl
Hi, there is a mixup between annotations and types here and type expressions on annotation expressions are not yet implemented. Else you could write DEP_ROOT.Governor.pos.type==VERB; Something like this could mabye help you: DEP_ROOT.Governor.pos{IS(VERB)}; or

Re: UIMA Ruta thread safe

2017-06-09 Thread Peter Klügl
AS. Is there maybe a type in some type system mentioned in types.txt? Now, only types imported or declared in the rules are known. Thus, the rules assume the complete name mentioned above. I would import the type system in the rules and remove the declare. Best, Peter > Best, > &g

Re: UIMA Ruta thread safe

2017-06-09 Thread Peter Klügl
is really >>>> annoying. Did you try to activate strictImports? >>> It's really annoying, we have a set of requests to test the web service. >> If >>> we execute the set of test with one thread all is ok, no exception, but >>> when we execute the same

Re: UIMA Ruta use of features in a block statement

2017-05-31 Thread Peter Klügl
017 um 09:59 schrieb Peter Klügl: >>> Hi, >> >> Hi Peter, >> >>> Am 30.05.2017 um 19:35 schrieb Sumit Madan: >>>> We were not able to access the annotation within the BLOCK. >>>> >>>> ### >>>> STRING s; >>&

Re: UIMA Ruta use of features in a block statement

2017-05-31 Thread Peter Klügl
Hi, Am 30.05.2017 um 19:35 schrieb Sumit Madan: > > We were not able to access the annotation within the BLOCK. > > ### > STRING s; > BOOLEAN a ; > > // This is not working for us: > BLOCK(forEACH) Lemma{}{ > Lemma{->MATCHEDTEXT(s), ASSIGN(a,contains(s,"er"))}; > Lemma{a ->Test1}; > } >

Re: Regarding Sources to learn UIMA Ruta

2017-05-22 Thread Peter Klügl
Hi, concerning UIMA Ruta, there is the documentation, a journal paper and some tutorial slides. There are also training units, but they are not published since I need to update and extend them before. See the StackoverFlow:

Re: UIMA Annotation Editor - Annotation Styles - how to reset ?

2017-05-18 Thread Peter Klügl
Hi, Can you provide a screenshot of you problem? have installed the UIMA Ruta Workbench? If yes, can you check the checkboxes in the Annotation Browser View? Best, Peter Am 17.05.2017 um 16:54 schrieb Luca Toldo: > Dear all, > I'm having problems with the Annotation Editor. > For

Re: [Ruta] STRINGLIST behavior

2017-05-17 Thread Peter Klügl
Hi, it should be local with respect to a ruta script/module/block (-> RutaEnvironment) and local to the processed CAS. Recently, a bug was reported that could maybe cause this: https://issues.apache.org/jira/browse/UIMA-5423 The environments are not resetted if the script

Re: Refreshing external resources periodically

2017-05-02 Thread Peter Klügl
Hi Jochen, you need to send the mail to user-unsubscr...@uima.apache.org in order to unsubscribe. Best, Peter Am 02.05.2017 um 11:47 schrieb jochen.leid...@thomsonreuters.com: > unsubscribe >

Re: Limiting the memory used by an annotator ?

2017-05-01 Thread Peter Klügl
s :-) especially for reporting the problem which greatly helps to improve ruta Best, Peter > >> Le 30 avr. 2017 à 12:57, Peter Klügl <peter.klu...@averbis.com> a écrit : >> >> Hi, >> >> >> here are some ruta-specific comments additionally to Thil

Re: Ruta: order while execution of actions in rule?

2017-04-27 Thread Peter Klügl
btw, I already did this (numerical values, normalized measurements) in ruta. If you want, we can exchange some best practices. Best, Peter Am 26.04.2017 um 14:18 schrieb Wolf-Dietrich Materna: > Hello, > I have a problem with the execution order of actions in rules. > I want to use Ruta to

Re: Ruta: order while execution of actions in rule?

2017-04-26 Thread Peter Klügl
Hi, just a quick comment... The actions are executed from left to right. I tried to reproduce it (ruta 2.6.0). There seems to be a bug affecting the FLOAT variable. When I replace the line FLOAT a2,a1; with DOUBLE a2,a1; it seems to work. I need to investigate it further in order to

Re: Questions abuot RUTA list building objects

2017-04-19 Thread Peter Klügl
ruta-core-2.4.0.jar.There is no error exception during the > runtime.Thanks :) > At 2017-04-19 19:52:31, "Peter Klügl" <peter.klu...@averbis.com> wrote: >> Hi, >> >> >> StringLists as any other List Feature Structure are currently not >> supported

Re: Ruta conflicts with DKPro typesystem

2017-04-10 Thread Peter Klügl
Hi, there are two options to avoid ambiguous references to types by using their shot name. This first one is using an alias as you did. However, you have to assign an unambiguous alias. Ruta should check if the alias is ambiguous but obviously doesn't. Try something like: IMPORT

Re: Using RUTA

2017-03-22 Thread Peter Klügl
ules. Right now, the expressiveness of ruta is high enough that this should not happen too often. On the other hand, maybe stepping back a bit and looking at the problem to be solved from a different perspective is a better approach. Maybe this should not be solved with labels and conjunct rules, but ma

Re: [ANNOUNCE] Apache UIMA Ruta 2.6.0 released

2017-03-16 Thread Peter Klügl
k on Ruta > Workbench (no results, even on a « W; » request). > Does anyone have the same problem as me ? In which case I’ll file an issue in > JIRA. > > Thanks, > > PS : I’m using a Mac… > > Hugues de Mazancourt > > > >> Le 10 mars 2017 à 13:01, Peter Klügl <pk

Re: Using RUTA

2017-03-16 Thread Peter Klügl
IF(CONJUNCTION) -> THEN > > > In other words we spect some kind of "interruption" to execute the THEN > statement > > But it seems that right now, all the permutations are inspected and then > the necessary annotations are created and, obviously, w1, w2, w3, w

Re: New dictionary annotator

2017-03-14 Thread Peter Klügl
Best regards, > Donatas > > On Mon, Dec 5, 2016 at 2:35 PM Peter Klügl <peter.klu...@averbis.com> wrote: > >> Hi, >> >> >> for the UIMA Ruta paper, I used the enron email dataset [1], but it is >> probably not optimal here. >> >> >>

Re: Using RUTA

2017-03-13 Thread Peter Klügl
appen too often to me concerning ruta. I am open to suggestions how this situation can be improved. I am not sure yet what should/can be done. Best, Peter > > regards > > 2017-03-13 10:56 GMT+01:00 Peter Klügl <peter.klu...@averbis.com>: > >> Hi, >> >> &

Re: Using RUTA

2017-03-13 Thread Peter Klügl
eter > > We have prepared a short test with 2 methods. > The first one is using #, the second one is using % > > We expect the same behaviour. But as you will see there are diferences. > > Regards > > 2017-02-28 16:00 GMT+01:00 Peter Klügl <peter.klu...@averbis.com

Re: Using RUTA

2017-02-28 Thread Peter Klügl
;>> Book{-> NeilsBook}<-{ >>> a1:Attribute{a1.name=="title", a1.ct=="Norse Mythology"} >>> % >>> a2:Attribute{a2.name=="author", a2.ct=="Neil Gaiman"}; >>> }; >>> >>>

Re: Using RUTA

2017-02-24 Thread Peter Klügl
13:47 schrieb José Vicente Moyano Murillo: > Hi, > > ruta-core.jar it's enough. > > It will be fantastic if i could access the snapshot repository. > > 2017-02-23 13:03 GMT+01:00 Peter Klügl <peter.klu...@averbis.com>: > >> Hi, >> >> >> wh

Re: Using RUTA

2017-02-23 Thread Peter Klügl
:00 José Vicente Moyano Murillo <moya...@aia.es>: you're right % is performing some kind of "or". So we will wait for the new release. Many thanks 2017-02-22 9:54 GMT+01:00 Peter Klügl <peter.klu...@averbis.com>: I actually wonder why your rules work. I am quite sure tha

Re: Using RUTA

2017-02-22 Thread Peter Klügl
ll be fixed in a few minutes and will be part of the next release. Best, Peter Am 22.02.2017 um 09:38 schrieb Peter Klügl: > Thanks. Maybe its just a bug in 2.5.0 I already fixed. I'll investigate it. > > > Am 22.02.2017 um 09:24 schrieb José Vicente Moyano Murillo: >>

Re: Using RUTA

2017-02-22 Thread Peter Klügl
> Book{ -> CREATE(NeilsBook) } <- { > Attribute{Attribute.name=="title", Attribute.ct=="Norse Mythology"}" > % > Attribute{FEATURE("name","author"), FEATURE("ct", "Neil > Gaiman")};

Re: Using RUTA

2017-02-21 Thread Peter Klügl
Hi, I'd normally say that you need the conjunt rules construct to specify an AND between two rule element independent of the position: Book{-> NeilsBook}<-{ a1:Attribute{a1.name=="title", a1.ct=="Norse Mythology"} % a2:Attribute{a2.name=="author", a2.ct=="Neil Gaiman"}; };

Re: New dictionary annotator

2016-12-05 Thread Peter Klügl
chmarks in UIMA? > > Best regards, > Donatas > > > On Mon, Dec 5, 2016 at 10:52 AM Peter Klügl <peter.klu...@averbis.com> > wrote: > >> Hi, >> >> >> a very nice annotator, thank you. >> >> >> Do you have figures how the annotator compa

Re: Error after updating to UIMA Ruta 2.5

2016-11-15 Thread Peter Klügl
Hi, Am 11.11.2016 um 13:04 schrieb Ingo Glaser: > Caused by: java.lang.RuntimeException: Cannot resolve imports in > _APP_TypeSystem > at > org.apache.uima.ruta.RutaEnvironment.importPackageFromTypeSystem(RutaEnvironment.java:594) > at >

Re: Error after updating to UIMA Ruta 2.5

2016-11-15 Thread Peter Klügl
Am 11.11.2016 um 13:04 schrieb Ingo Glaser: > I figured that even when using version 2.5.0, importByLocation is default for > me. I did debug it as well as the import tags in the created .xml files do > have an attribute location. I actually was thinking of the default in the maven plugin

Re: Error after updating to UIMA Ruta 2.5

2016-11-15 Thread Peter Klügl
>> >> String engineOutput = new File(analysisEngineOutputDirectory, >> packageString + descriptorInformation.getScriptName() + >> options.getAnalysisEngineSuffix() + ".xml").getAbsolutePath(); >> >>String typeSystemOutput = ne

Re: Error after updating to UIMA Ruta 2.5

2016-11-15 Thread Peter Klügl
RutaDescriptorInformation descriptorInformation = >> factory.parseDescriptorInformation(scriptToBuild, options); >>String packageString = ""; >> >> String engineOutput = new File(analysisEngineOutputDirectory, >> packageString + descriptorInformation.getScri

Re: Error after updating to UIMA Ruta 2.5

2016-11-10 Thread Peter Klügl
Hi, this should work just like in 2.3.0. However, there are some changes (and a bug concerning the datapath). I assume that you use the ruta-maven-plugin to create the descriptors? Did you use import-by-location before? I think the default changed to import-by-name. true You can switch the

Re: RUTA in Java: access object contents

2016-10-01 Thread Peter Klügl
> > Have a nice weekend, > Best, > > Sebastian > > > ----- Ursprüngliche Mail - > Von: "Peter Klügl" <peter.klu...@averbis.com> > An: "user" <user@uima.apache.org> > Gesendet: Donnerstag, 29. September 2016 15:00:55 > Betref

Re: RUTA in Java: access object contents

2016-09-29 Thread Peter Klügl
Schaaf: > Hi Peter, > > That's great, thanks a ton in advance! > For us this means we can proceed just in time with a task which requires the > new RUTA feature. > > Keeping fingers crossed. > > Best, > Sebastian > > ----- Ursprüngliche Mail - > Von:

Re: RUTA in Java: access object contents

2016-09-29 Thread Peter Klügl
gt; Betreff: Re: RUTA in Java: access object contents > > Sounds great, thank you in advance! > Whatever comes up, don't hesitate to query back to us. > > Cheers, > Sebastian > > > - Ursprüngliche Mail - > Von: "Peter Klügl" <peter.klu...@averbi

[ANNOUNCE] Apache UIMA Ruta 2.5.0 released

2016-09-28 Thread Peter Klügl
uta-2.5.0/issuesFixed/jira-report.html More information about UIMA Ruta can be found here: http://uima.apache.org/ruta.html - Peter Klügl, for the Apache UIMA development team signature.asc Description: OpenPGP digital signature

Re: trying to understand an example in the Ruta manual

2016-09-21 Thread Peter Klügl
in different features. Best, Peter > Bonnie MacKellar > > On Thu, Sep 15, 2016 at 7:32 AM, Peter Klügl <peter.klu...@averbis.com> > wrote: > >> Hi, >> >> >> Am 14.09.2016 um 22:58 schrieb Bonnie MacKellar: >>> OK, thanks. I played around a lit

Re: trying to understand an example in the Ruta manual

2016-09-15 Thread Peter Klügl
When I explain these examples, I normally also explain the situation when there are no Employer and Employee annotations but only Person annotations. Then, only a subset of the rules will work, e.g., GATHER, annotation variables, labels. In this case, I would not need to modify the declare statement.

Re: RUTA in Java: access object contents

2016-09-12 Thread Peter Klügl
Hi, first of all: what do you mean exactly by "our objects" and "given Java objects"? Real Java objects of some arbitrary class or feature structures (annotations) in UIMA? I assume that you were referring to UIMA objects and the getters are the getters of features in JCasGen cover classes. If

Re: UIMA RUTA script with stringfunctions doesnt work when executing from UIMA-Fit

2016-09-08 Thread Peter Klügl
, Peter Am 08.09.2016 um 13:50 schrieb Peter Klügl: Hi, what is the content of line 28 in your script? I assume it's the line with "equalsIgnoreCase", right? How do you create the analysis engine for your ruta script? I assume that you use some

Re: UIMA RUTA script with stringfunctions doesnt work when executing from UIMA-Fit

2016-09-08 Thread Peter Klügl
Hi, what is the content of line 28 in your script? I assume it's the line with "equalsIgnoreCase", right? How do you create the analysis engine for your ruta script? I assume that you use something like: AnalysisEngineFactory.createEngineDescription(RutaEngine.class, ...) Do you set values

Re: Unobtrusive integration of Ruta-Scripts in Java Application

2016-08-20 Thread Peter Klügl
Hi, I have a few short question: - How do you apply the new rule scripts? Do you detect all .ruta files in the directory and apply them programmatically? Or do you include them in another ruta script that is already included in your program? - Should the user be able to declare new types in

Re: Ruta 2.4.0 - High memory needs

2016-08-18 Thread Peter Klügl
schrieb Peter Klügl: > I found a bug (and fixed it), but it was not related to your problem. > > > I added a unit test where the seeder is removed: > > https://svn.apache.org/repos/asf/uima/ruta/trunk/ruta-core/src/test/java/org/apache/uima/ruta/engine/NoSeedersTest.java > &

Re: Ruta 2.4.0 - High memory needs

2016-08-18 Thread Peter Klügl
somewhere else. Are you sure that the configuration parameter value is correct? I'll write another unit test... Best, Peter Am 18.08.2016 um 14:38 schrieb Peter Klügl: > I'll check that (writing some unit test right now) > > > Am 18.08.2016 um 14:36 schrieb armin.weg...@bka.bu

Re: Ruta 2.4.0 - High memory needs

2016-08-18 Thread Peter Klügl
tokens plus my own tokenization at the same time. > > Cheers, > Armin > > -Ursprüngliche Nachricht- > Von: Peter Klügl [mailto:peter.klu...@averbis.com] > Gesendet: Donnerstag, 18. August 2016 14:23 > An: user@uima.apache.org > Betreff: Re: Ruta 2.4.0 - High memo

Re: Ruta 2.4.0 - High memory needs

2016-08-18 Thread Peter Klügl
I tell Ruta to > use my own seeder? Do I have to replace > org.apache.uima.ruta.seed.DefaultSeeder.java? Won't this break Ruta? > > Best, > Armin > > > -Ursprüngliche Nachricht- > Von: Peter Klügl [mailto:peter.klu...@averbis.com] > Gesendet: Mittwoch, 10

Re: Ruta 2.4.0 - Setting parameters using Maven target

2016-08-17 Thread Peter Klügl
Hi, you cannot specify the configuration parameter values directly in the configuration of the maven plugin, but you can specify the analysis engine descriptor template which is utilized in order the generate the descriptors. Normally, this is the one shipped in ruta-core:

Re: Ruta 2.4.0 - High memory needs

2016-08-10 Thread Peter Klügl
Hi, 18MB of text in a CAS, well that's a quite big sofa. Yes, there are some tricks and best prectices. First of all, there is the configuration parameter "lowMemoryProfile", which reduces the information stored in RutaBasic. It should reduce the memory usage considerably, but the processing

Re: Eclipse Neon and version 2.8.2

2016-08-03 Thread Peter Klügl
Hi, we are currently solving some other issues for the release. After that, the release process will be started, but I cannot tell you when the new version will be released as it also depends on the available time for reviewing the release candidate. Due to some new features, the next version

Re: Ruta variable annotations

2016-07-18 Thread Peter Klügl
Hi, yes there is hardly any documentation. The definition of annotation variables is mentioned in the syntax section: https://uima.apache.org/d/ruta-current/tools.ruta.book.html#ugr.tools.ruta.language.syntax There are no examples in the documentation because there was no good section to add

Re: missing Ruta annotations from uimaFit

2016-07-07 Thread Peter Klügl
; A user recently pointed out that uimaFIT 2.2.0 reintroduces a bug > in iteratePipeline - typeSystemInit() is not called [1]. > > @Peter: could the missing call to typeSystemInit() be a problem for Ruta? > > Cheers, > > -- Richard > > [1] https://issues.apache.org/jira/

Re: missing Ruta annotations from uimaFit

2016-07-07 Thread Peter Klügl
Hi, I have no idea yet why the code with iteratePipeline does not work. Richard, do you have an idea? Are there any exceptions? Do you use the rae objects somewhere? Is your code hosted somewhere, e.g., on github? What do you mean by your own annotations? Annotations of an external type

Re: problems integrating Ruta and uimaFit

2016-06-23 Thread Peter Klügl
Hi, sorry, here's just a short reply since I am currently travelling. If the problem still exists I will try to reproduce it and reply with more details next week. Yes, in simple UIMA Ruta projects, these descriptors are copied to descriptor/utils when you create the project. The descriptor

Re: question on Ruta Query View

2016-06-19 Thread Peter Klügl
n Sun, Jun 19, 2016 at 8:03 AM, Peter Klügl <peter.klu...@averbis.com> > wrote: > >> Hi, >> >> >> attachements are removed on this mailing list. >> >> >> I would bet that some annotations are not visible to the rules, so they >> are

Re: question on Ruta Query View

2016-06-19 Thread Peter Klügl
Hi, attachements are removed on this mailing list. I would bet that some annotations are not visible to the rules, so they are simply skipped -> query view reutrn no matches. In Ruta, annotations are invisble if their begin or end are covered by something invisible, that are all annoations

Re: Problem matching adjacent annotations using Ruta

2016-03-14 Thread Peter Klügl
hmm, sounds like a bug. Can you add SPACE to the retained types: RETAINTYPE(WS, SPACE, BREAK); This should not change anything, but... Why did A PERIOD SPACE not match? Do have a have a reproducible example? I promise that I will do something about the visiblity in the next releses. Best,

Re: to edit seed file in ruta

2016-02-28 Thread Peter Klügl
Hi, Am 22.02.2016 um 06:39 schrieb AmyJacksonKatrina: > Thank you So much Peter... > Your Option 2 is working as expected. > > But Option3 is saying an error like > error: Feature "TAG.name==RutaStringExpression : ["w:t"]" is not defined > for type "TAG". > Did you import the type system

Re: to edit seed file in ruta

2016-02-17 Thread Peter Klügl
ured to only annotate the content of xml elements. http://uima.apache.org/d/ruta-current/tools.ruta.book.html#ugr.tools.ruta.ae.html Best, Peter Am 17.02.2016 um 10:33 schrieb AmyJacksonKatrina: Peter Klügl <peter.kluegl@...> writes: Hi, did the answer to your last mail help? Wh

Re: matching words between breaks after a pincode

2016-02-17 Thread Peter Klügl
Hi, the problem is probably the filtering setting. BREAK is by default not visible. It will never be a successful match because ruta will automatically skip the line breaks. Try to add another rule changing the filtering setting in front of your rule: RETAINTYPE(BREAK); pin BREAK #{->

[ANNOUNCE] Apache UIMA Ruta 2.4.0 released

2016-02-15 Thread Peter Klügl
org/ruta.html - Peter Klügl, for the Apache UIMA development team -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQIcBAEBCAAGBQJWwb1XAAoJEEk0Q5PAkBnzNPsP/jnhwAxeZoPOWQkbhC0YcmF2 gvHpxiQhd/Bp3dMfpVXRQFWHbHokbHifALgMHGkMj6pTqrOeD3ZKieOF66q6gU2g 5sMyMQEwK+ttFSoJtlsSuQxHa2RPzAGf+txZ5jTzshnsF0XzRz6mO

Re: to edit seed file in ruta

2016-02-10 Thread Peter Klügl
Hi, did the answer to your last mail help? What changes did you try which had no effect? Can you explain your use case in more detail? There is probably a much easier solution than to modify the seed file. Best, Peter Am 10.02.2016 um 06:34 schrieb AmyJacksonKatrina: > how can i edit seed

Re: question on REGEXP in Ruta

2016-02-09 Thread Peter Klügl
ept, then you can add other (optional) types in between or a wildcard. Best, Peter > thanks so much for your help. I have been able to move forwards quite a bit > today because of it. > > Bonnie MacKellar > > > On Mon, Feb 8, 2016 at 9:19 AM, Peter Klügl <peter.klu...@averbis.

Re: question on REGEXP in Ruta

2016-02-08 Thread Peter Klügl
Hi, capturing groups are not supported by the REGEXP condition since it is essentially just a boolean function and cannot transfer its internal information to an action which creates annotations. However, there are many other ways to solve it. There is maybe a problem with your regexp. I changed

Re: question on REGEXP in Ruta

2016-02-08 Thread Peter Klügl
annotation of the type "SomeTag" on the offests of the UmlsConcept annotation. Does this help? Do not hesitate if you have more questions, e.g., for other rules. btw, if you have more rules like this, I'd recommend that you use a BLOCK construct and separately annotate the negation in

Re: JCasGen: Import typesystem from Maven dependency jar

2016-02-05 Thread Peter Klügl
You can also debug the maven build process with the jcasgen-maven-plugin (at least in Eclipse) Best, Peter Am 05.02.2016 um 17:41 schrieb José Tomás Atria: > Ok, I'll produce a stack trace and file the bug report. > > By deploying locally, I meant running JCasGen from local sources so I can >

Re: uima ruta to edit src

2016-02-05 Thread Peter Klügl
Hi, what do you mean exactly by "work on eclipse while displaying output"? You want to use the regex in a scanner/lexer/seeder in an analysis engine in a Ruta project in the Ruta Workbench? Here's how to modify the SeedLexer implementation: - modify/extend SeedLexer.flex with your regexp -

Re: examples of using maven with uima, uimaFit, ruta, etc?

2016-01-19 Thread Peter Klügl
that default folder structure that I > don't want. I am not sure how to correctly create a project so that it uses > Maven, lets me put my script under the Src folder, and STILL lets me use > the Workbench tools. Perhaps that just isn't possible? > > thanks, > Bonnie MacKellar

Re: examples of using maven with uima, uimaFit, ruta, etc?

2016-01-19 Thread Peter Klügl
> > > This looks useful. What is the effect of adding RutaNature in the POM file? > If I add this snippet, will I be able to run Workbench with a script in a > nonstandard location? > > thanks! > Bonnie MacKellar > > On Mon, Jan 18, 2016 at 10:14 AM, Peter Klügl

Re: best practice for building RUTA scripts in Eclipse when they are to be run in Java?

2016-01-18 Thread Peter Klügl
lots of internet searches > and copy what I found, so I am sure I am not doing things in the best way. What did you miss? I should link/add more examples. I will add more documentation when I find the time. > On Thu, Jan 14, 2016 at 11:19 AM, Peter Klügl <peter.klu...@averbis.com> >

Re: examples of using maven with uima, uimaFit, ruta, etc?

2016-01-18 Thread Peter Klügl
an example you can look at: https://svn.apache.org/repos/asf/ctakes/sandbox/ctakes-clinical-deid Let me know if these examples do help or if you need something else. Best, Peter Am 17.01.2016 um 22:42 schrieb Peter Klügl: > and sorry for all the typos... > > Am 17.01.2016 um 22:34 schr

Re: examples of using maven with uima, uimaFit, ruta, etc?

2016-01-17 Thread Peter Klügl
and sorry for all the typos... Am 17.01.2016 um 22:34 schrieb Peter Klügl: Hi, first of all, sorry that I did not answer your last mail on Friday as I said. There are some example/test projects for UIMA Ruta based on maven: http://home.apache.org/~pkluegl/examples/date-example.zip https

Re: examples of using maven with uima, uimaFit, ruta, etc?

2016-01-17 Thread Peter Klügl
Hi, first of all, sorry that I did not answer your last mail on Friday as I said. There are some example/test projects for UIMA Ruta based on maven: http://home.apache.org/~pkluegl/examples/date-example.zip

Re: best practice for building RUTA scripts in Eclipse when they are to be run in Java?

2016-01-14 Thread Peter Klügl
Hi, just a few short first comments... more tomorrow... - Unfortunately, the images did not make it (due to the mailing list settings?). You can send me the mail directly if you want. - I really prefer now to develop ruta script in maven built projects. Is maven an option for you? - You can

Re: Problem with optional rule elements

2016-01-08 Thread Peter Klügl
Hi, this is not directly a bug. A single question mark in ruta is greedy and therefore the rule element consumes the matched annotations without looking at the next one. The reluctant version of an optional rule element can be specified with two question marks (an additional question mark is

Re: Very long Ruta stream initialization

2016-01-07 Thread Peter Klügl
hat creates much more finegrained types like different brackets and quotes... but it was never on top of my todo list. Do you want to open a jira issue for it? Best, Peter > Cheers > Mario > > >> On 04 Jan 2016, at 17:06 , Peter Klügl <peter.klu...@averbis.com> wrote: &

Re: Very long Ruta stream initialization

2016-01-07 Thread Peter Klügl
; Yes, where do we sign this? > > :-) > >> On 07 Jan 2016, at 10:16 , Peter Klügl <peter.klu...@averbis.com> wrote: >> >> :-) let me know if you need help or have any questions. >> >> Am 07.01.2016 um 10:12 schrieb Mario Gazzo: >>> Yes, let us just sign and submit

Re: Very long Ruta stream initialization

2016-01-07 Thread Peter Klügl
owse/UIMA-4729 > <https://issues.apache.org/jira/browse/UIMA-4729> > > If you like, then we can also implement it and submit a patch, just let us > know what the process is. > > Cheers > Mario > >> On 07 Jan 2016, at 09:08 , Peter Klügl <peter.klu...@averbis.co

Re: Very long Ruta stream initialization

2016-01-04 Thread Peter Klügl
not the bottleneck :-D Best, Peter > Cheers > Mario > >> On 30 Dec 2015, at 16:44 , Peter Klügl <peter.klu...@averbis.com> wrote: >> >> Hi, >> >> sorry for the delayed reply. >> >> RutaEngine::initializeStream: >> >> The special

Re: Very long Ruta stream initialization

2015-12-30 Thread Peter Klügl
Hi, sorry for the delayed reply. RutaEngine::initializeStream: The special treatment of MARKUPs that causes the increased time required for initialization is just a workaround because I was to lazy to write a working jflex rule. Well, I tried but failed. It shouldn't be hard be to improve

Re: UIMA AS roadmap

2015-12-08 Thread Peter Klügl
Hi, are there plans concerning the spring versions? Best, Peter Am 08.12.2015 um 16:31 schrieb Jaroslaw Cwiklik: > Mihaela, I am working on the new UIMA-AS release right now. It will include > the UIMA SDK 2.8.1, ActiveMQ 5.12.1, and a few fixes and features like: > > - Fixed Performance

Re: Ruta and Morphology Analyzing

2015-11-26 Thread Peter Klügl
Hi, yes and no. The UIMA Ruta rules can be interpreted as single FSTs, but they are not compiled to a single automaton as one would normally expect. There is a prototypical implementation of such FST but it provides only minimal functionality of the language. UIMA Ruta is rather an imperative

Re: How to use string functions from ruta-core-ext in Ruta

2015-11-18 Thread Peter Klügl
t regard, > Wolf-Dietrich Materna > > -Ursprüngliche Nachricht- > Von: Peter Klügl [mailto:peter.klu...@averbis.com] > Gesendet: Dienstag, 17. November 2015 09:24 > An: user@uima.apache.org > Betreff: Re: How to use string functions from ruta-core-ext in Ruta >

Re: how to call UIMA Ruta from uimaFIT

2015-11-13 Thread Peter Klügl
lved-to-a-type-error/> > if it can help someone also. These 4 instructions : *Clean, refresh, build, > restart.* > Thank you again. > > Regards > Olivier > > > 2015-11-13 14:01 GMT+01:00 Peter Klügl <peter.klu...@averbis.com>: > >> Hi, >> >> I as

Re: how to call UIMA Ruta from uimaFIT

2015-11-13 Thread Peter Klügl
;); > AnnotationIndex annotationIndex = > cas.getAnnotationIndex(monthType); > for (AnnotationFS each : annotationIndex) { > System.out.println(each.getCoveredText()); > } > */ > > JCas jcas =

Re: Ruta MARKLAST and punctuations

2015-10-28 Thread Peter Klügl
; Mario > > >> On 28 Oct 2015, at 10:01 , Peter Klügl <peter.klu...@averbis.com> wrote: >> >> Hi, >> >> nope this should work as expected. I just tested it with some simple >> exmaples and I also do not see anything in the implementation. >> Can y

Re: Ruta MARKLAST and punctuations

2015-10-28 Thread Peter Klügl
Hi, nope this should work as expected. I just tested it with some simple exmaples and I also do not see anything in the implementation. Can you provide a reproducible example? Best, Peter Am 27.10.2015 um 20:52 schrieb Mario Gazzo: > Hi Peter, > > It appears as if the MARKLAST action doesn’t

Re: UIMA Ruta not capturing some XML markup with attributes?

2015-10-21 Thread Peter Klügl
ersion becomes available. > > Cheers > Mario > >> On 20 Oct 2015, at 17:56 , Peter Klügl <peter.klu...@averbis.com> wrote: >> >> Hi Mario, >> >> yes, and the different quote also causes problems (are these valid?). >> >> The MARUP annotatio

Re: Getting UIMA ruta annotations

2015-10-20 Thread Peter Klügl
Hi, you can access these annotations like any other annotation in UIMA. ... with plain UIMA: Type yearType = cas.getTypeSystem().getType("uima.ruta.example.Year"); AnnotationIndex annotationIndex = cas.getAnnotationIndex(yearType); for (AnnotationFS each : annotationIndex) {

Re: UIMA Ruta not capturing some XML markup with attributes?

2015-10-20 Thread Peter Klügl
Hi Mario, yes, and the different quote also causes problems (are these valid?). The MARUP annotation is not created by jflex like the other annoations, but by a postprocessing step using an regular epression. This expression does not cover theses cases (markupPattern in DefaultSeeder.java).

Re: RUTA variable assignment problem

2015-10-14 Thread Peter Klügl
that can reproduce > my problems but I don’t think I get the time this week anymore. I will keep > my line open though and answer any questions you might have ASAP. > > Cheers > Mario > > >> On 13 Oct 2015, at 11:12 , Peter Klügl <peter.klu...@averbis.com> wrote

<    1   2   3   4   >