uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Eckart de Castilho (JIRA)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-3250) Wrong qualifier
Date Thu, 05 Sep 2013 08:37:52 GMT

    [ https://issues.apache.org/jira/browse/UIMA-3250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13758891#comment-13758891
] 

Richard Eckart de Castilho commented on UIMA-3250:
--------------------------------------------------

Questions should go to the users mailing list, but I'll assume that you say this is a bug.

Did you actually try "Tokenizer.TOKEN_TYPE_PARAMETER"? Neither opennlp.uima.tokenize.AbstractTokenizer
nor opennlp.uima.tokenize.Tokenizer declare such a constant. They refer to the constants defined
in UimaUtil. If you try it, you should notice that you get a compiler error.
                
> Wrong qualifier
> ---------------
>
>                 Key: UIMA-3250
>                 URL: https://issues.apache.org/jira/browse/UIMA-3250
>             Project: UIMA
>          Issue Type: Documentation
>          Components: uimaFIT
>    Affects Versions: 2.0.0uimaFIT
>            Reporter: Armin Wegner
>            Priority: Minor
>
> The second example in 7.1.1 Regular UIMA components of http://uima.apache.org/d/uimafit-current/tools.uimafit.book.html#ugr.tools.uimafit.introduction
reads
> UimaUtil.TOKEN_TYPE_PARAMETER, Token.class.getName(),
> UimaUtil.SENTENCE_TYPE_PARAMETER, Sentence.class.getName
> Shouldn't it be
> Tokenizer.TOKEN_TYPE_PARAMETER, Token.class.getName(),
> Tokenizer.SENTENCE_TYPE_PARAMETER, Sentence.class.getName());());
> ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message