You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Oleg Fedoriaka (JIRA)" <de...@uima.apache.org> on 2015/07/01 00:44:05 UTC
[jira] [Comment Edited] (UIMA-4453) MARKTABLE action works
improperly
[ https://issues.apache.org/jira/browse/UIMA-4453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14608454#comment-14608454 ]
Oleg Fedoriaka edited comment on UIMA-4453 at 6/30/15 10:43 PM:
----------------------------------------------------------------
I'm glad to report you the challenge is being overcame!
For whom it may concern, keep in mind that some-why setting dictRemoveWS parameter in descriptor/BasicEngine.xml does not make effect to other scripts by updating a project. Therefore, you have to set it manually where its needed.
Please find attached is right ruta build of 1688318 svn revision. ruta/ruta-eclipse-update-site/pom.xml has been changed as follows:
— <artifactId>ruta-eclipse-update-site</artifactId> <packaging>pom</packaging><version>2.3.0</version> replaced with <version>2.3.1-SNAPSHOT</version>
— <item-maven-release-version>2.3.0</item-maven-release-version> replaced with <item-maven-release-version>2.3.1-SNAPSHOT</item-maven-release-version>
Tested on OS X, Eclipse Mars, JDK1.8.0_45, UIMA Ruta Workbench 2.3.1-SNAPSHOT — works like a charm.
Thanks Peter.
was (Author: submedia):
I've just tried again to get it work by performing below steps:
* The following lines has been modified in ruta/ruta-eclipse-update-site/pom.xml
** <artifactId>ruta-eclipse-update-site</artifactId> <packaging>pom</packaging><version>2.3.0</version> replaced with <version>2.3.1-SNAPSHOT</version>
** <item-maven-release-version>2.3.0</item-maven-release-version> replaced with <item-maven-release-version>2.3.1-SNAPSHOT</item-maven-release-version>
* cd ruta; mvm clean install; cd ruta-eclipse-update-site; mvm clean install
* In Eclipse, removed old and installed previously built Workbench 2.3.1-SNAPSHOT. Restarted IDE with -clean option
* Created new Ruta Project for testing purposes
* Edited descriptors/BasicEngine.xml and assigned dictRemoveWS to true, then converted/updated Ruta project. By the way, I also tried set it false. In both cases it doesn't work.
> MARKTABLE action works improperly
> ---------------------------------
>
> Key: UIMA-4453
> URL: https://issues.apache.org/jira/browse/UIMA-4453
> Project: UIMA
> Issue Type: Bug
> Components: ruta
> Affects Versions: 2.3.0ruta
> Environment: OS X 10.9.1, Java v8u45, Eclipse Luna
> Windows 7, Java v8u45, Eclipse Luna
> Reporter: Oleg Fedoriaka
> Assignee: Peter Klügl
> Fix For: 2.3.1ruta
>
> Attachments: ruta-2.3.1-SNAPSHOT.tar.gz
>
> Original Estimate: 96h
> Remaining Estimate: 96h
>
> New available UIMA Ruta Runtime 2.7.0 & Workbench 2.3.0 for Eclipse has lost proper functionality of MARKTABLE action. This action stopped annotating of all words from a csv file. I had noticed that the problem happened only for words written in Cyrillic witch contains spaces, i.e. for Latin it works fine. Please use sample outlined below in order to reproduce the problem i'm talking about.
> # script/main.ruta
> WORDTABLE Dict = 'dict.csv';
> DECLARE Annotation Test (STRING meaning);
> Document {-> MARKTABLE(Test,1,Dict, "meaning" = 2)};
> # resources/dict.csv
> від;from
> с какой стати;why
> с которой;fromWhich
> сюда;here
> по какому;which
> сюди;here
> как нибудь;somehow
> сколько;howMuch
> # input/test.txt
> від с какой стати с которой сюда по какому сюди как нибудь сколько
> After main.ruta script execution we wont get annotated everything from test.txt Worth mentioning that Cyrillic letter like 'с' at the beginning of string, somehow affecting on processing behavior. Moreover, by removing lines with spaces, will get rid us from the issue described above.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)