You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Peter Klügl (JIRA)" <de...@uima.apache.org> on 2012/08/01 15:11:02 UTC
[jira] [Commented] (UIMA-2449) Initialization of Strings
[ https://issues.apache.org/jira/browse/UIMA-2449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426593#comment-13426593 ]
Peter Klügl commented on UIMA-2449:
-----------------------------------
Hi Philipp,
you can send normal questions to the user list (user@uima.apache.org) and do not have to create a bug report.
You can initialize string variables with: STRING brandStr = "BMW";
and you can reset the string variable with Document{-> ASSIGN(brandStr, "")};
Best,
Peter
> Initialization of Strings
> -------------------------
>
> Key: UIMA-2449
> URL: https://issues.apache.org/jira/browse/UIMA-2449
> Project: UIMA
> Issue Type: Bug
> Components: TextMarker
> Reporter: Philipp Daumke
> Priority: Minor
>
> Hi Peter,
> I coudln't find out how to initialize StringVariables. In the following code, the variable brandStr should be reset to "" for each loop iteration, but that's not the case.
> BLOCK(forEach) Car{}{
> STRING brandStr;
> Brand{->MATCHEDTEXT(brandStr)};
> }
> How to fix that?
> All the best
> Philipp
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira