You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Philipp Daumke (JIRA)" <de...@uima.apache.org> on 2012/08/01 15:00:38 UTC

[jira] [Created] (UIMA-2449) Initialization of Strings

Philipp Daumke created UIMA-2449:
------------------------------------

             Summary: 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

        

[jira] [Commented] (UIMA-2449) Initialization of Strings

Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426605#comment-13426605 ] 

Peter Klügl commented on UIMA-2449:
-----------------------------------

The wiki documentation is unfortunately outdated as it refers to the old SourceForge project and the new documentation is not yet released. The description of conditions and actions in the sandbox (uima-docbook-textmarker) is quite correct now. It (also) says: ASSIGN(StringVariable,StringExpression)

If you like I can build the documentation and send it to you. 



                
> 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

       

[jira] [Commented] (UIMA-2449) Initialization of Strings

Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
    [ 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

       

[jira] [Commented] (UIMA-2449) Initialization of Strings

Posted by "Philipp Daumke (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426597#comment-13426597 ] 

Philipp Daumke commented on UIMA-2449:
--------------------------------------

Hi Peter,

ok, "normal" questions to the user list from now on.

One reason why I put it here was that in your wiki documentation ASSIGN ist defined as:

ASSIGN(Variable,NumericalExpression)

NumericalExpression is not entirely correct then, is it?

All the best
Philipp




                
> 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

        

[jira] [Assigned] (UIMA-2449) Initialization of Strings

Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Klügl reassigned UIMA-2449:
---------------------------------

    Assignee: Peter Klügl
    
> 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
>            Assignee: Peter Klügl
>            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

       

[jira] [Resolved] (UIMA-2449) Initialization of Strings

Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Klügl resolved UIMA-2449.
-------------------------------

    Resolution: Not A Problem
    
> 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
>            Assignee: Peter Klügl
>            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