Questions tagged [ruta]

Apache UIMA Ruta is a scripting language for natural language processing.

Apache UIMA Ruta (formerly called TextMarker) consists of a rule-based script language and an Eclipse-based workbench.

279 questions
0
votes
1 answer

How to get parts of speech information in ruta from German novel uima ruta example?

I created and executed the German Novel example project from scratch. The output contains tags like Lemma & Token, but can't find any features giving the token's parts of speech information. How to get it?
Sindhu Venkatachary
  • 233
  • 1
  • 2
  • 10
0
votes
1 answer

What do the numbers in NEAR Condition signify in ruta script?

I used the below script to find list items; Script: SuspectedList{NEAR(SuspectedList,1,5)->MARK(DZP_List)}; SuspectedList{-PARTOF(DZP_List),NEAR(SuspectedList,1,5,false)->MARK(DZP_List)}; SuspectedList contains headings and list items, out of which…
prasanth
  • 261
  • 1
  • 10
0
votes
1 answer

UIMA Ruta - Gather with optional annotation

I need to gather a few annotations to create a new annotation. For example, suppose a is marked as annotation A b is marked as annotation B c is marked as annotation C I want to create another annotation D that has A,B and C as features, but B…
mahathi a
  • 33
  • 4
0
votes
1 answer

How to make changes in seed.flex file

I am a uima ruta newbie. I just want to make some changes in seed.flex file which should effect in our eclipse output. I have done many changes but still the output is working as usual. Tell me how to make that changes effect.
user5881607
0
votes
0 answers

Odd behavior of long Document annotation type in UIMA Ruta script

I have the following types: SpecialDocument inheriting from uima.tcas.Annotation (or uima.tcas.DocumentAnnotation, ideally) with a feature specialFeature of type uima.cas.String SomeAnnotation inheriting from uima.tcas.Annotation I have a rule…
tacos_tacos_tacos
  • 10,277
  • 11
  • 73
  • 126
0
votes
1 answer

Configuring Eclipse Content Assist for UIMA Ruta scripts

Is it possible to configure Eclipse such that when editing .ruta files (Ruta scripts), the Content Assist feature works? By default, when I try to induce the tool to give me help with Ctrl + (space) and without typing anything, I get an error (I…
tacos_tacos_tacos
  • 10,277
  • 11
  • 73
  • 126
0
votes
0 answers

Ruta: How can I read a text file, line by line, considering each line as one string

Using a Ruta script I tried to read a text file that has multiple lines and each one of them multiple words. I used WORDLIST and STRINGLIST, WORDLIST personNameList = 'PersonName.txt'; STRINGLIST pList = { "John", "Paul Newton" }; but both,…
0
votes
1 answer

RUTA: how to parse a date -MM/dd/yyyy- and store it in a a complex structure?

what I want, is to parse the three components of a date, store each one into its own annotation and then create a complex structure, that will represent the whole date. I tried the following, but it did not work. DECLARE Annotation CommDate…
0
votes
1 answer

a simple Ruta annotator

I just started with Ruta and I would like to write a rule that will work like this: it will try to match a word e.g. XYZ and when it hits it, it will then assign the text that comes before to the Annotator CompanyDetails. For example : This is a…
1 2 3
18
19