You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (JIRA)" <de...@uima.apache.org> on 2017/10/02 19:36:00 UTC

[jira] [Reopened] (UIMA-5595) uv3 toString for FeatureStructures seems not quite right

     [ https://issues.apache.org/jira/browse/UIMA-5595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Eckart de Castilho reopened UIMA-5595:
----------------------------------------------

Reopening this. We seem to have undesired empty lines:

{noformat}
DocumentMetaData:1
   sofa: _InitialView
   begin: 0
   end: 92
   language: "de"


   documentId: "1"




   isLastSegment: false
{noformat}

> uv3 toString for FeatureStructures seems not quite right
> --------------------------------------------------------
>
>                 Key: UIMA-5595
>                 URL: https://issues.apache.org/jira/browse/UIMA-5595
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 3.0.0SDK-alpha02
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>            Priority: Minor
>             Fix For: 3.0.0SDK-beta
>
>
> uv3's impl of FeatureStructure toString was returning (in most cases) identical values as UV2, but somewhere along the line, it started calling every FS as if it had circular refs, even when it didn't.  Fix this, and see about getting the format to be identical (in most cases) to v2, for better backwards compatibility.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Re: [jira] [Reopened] (UIMA-5595) uv3 toString for FeatureStructures seems not quite right

Posted by Marshall Schor <ms...@schor.com>.
I think the pretty print is now fixed.  Removed extra new lines, and arranged
for proper indenting of nested Feature Structures.


On 10/2/2017 5:41 PM, Marshall Schor wrote:
> right you are - working on it...
>
> It looks like array value pretty printing is not very pretty... in V2, Features
> having FSArray values are not printed at all...  In v3, the formatting is uneven.
>
> -Marshall
>
>
> On 10/2/2017 3:36 PM, Richard Eckart de Castilho (JIRA) wrote:
>>      [ https://issues.apache.org/jira/browse/UIMA-5595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>>
>> Richard Eckart de Castilho reopened UIMA-5595:
>> ----------------------------------------------
>>
>> Reopening this. We seem to have undesired empty lines:
>>
>> {noformat}
>> DocumentMetaData:1
>>    sofa: _InitialView
>>    begin: 0
>>    end: 92
>>    language: "de"
>>
>>
>>    documentId: "1"
>>
>>
>>
>>
>>    isLastSegment: false
>> {noformat}
>>
>>> uv3 toString for FeatureStructures seems not quite right
>>> --------------------------------------------------------
>>>
>>>                 Key: UIMA-5595
>>>                 URL: https://issues.apache.org/jira/browse/UIMA-5595
>>>             Project: UIMA
>>>          Issue Type: Bug
>>>          Components: Core Java Framework
>>>    Affects Versions: 3.0.0SDK-alpha02
>>>            Reporter: Marshall Schor
>>>            Assignee: Marshall Schor
>>>            Priority: Minor
>>>             Fix For: 3.0.0SDK-beta
>>>
>>>
>>> uv3's impl of FeatureStructure toString was returning (in most cases) identical values as UV2, but somewhere along the line, it started calling every FS as if it had circular refs, even when it didn't.  Fix this, and see about getting the format to be identical (in most cases) to v2, for better backwards compatibility.
>>
>> --
>> This message was sent by Atlassian JIRA
>> (v6.4.14#64029)
>>
>


Re: [jira] [Reopened] (UIMA-5595) uv3 toString for FeatureStructures seems not quite right

Posted by Marshall Schor <ms...@schor.com>.
right you are - working on it...

It looks like array value pretty printing is not very pretty... in V2, Features
having FSArray values are not printed at all...  In v3, the formatting is uneven.

-Marshall


On 10/2/2017 3:36 PM, Richard Eckart de Castilho (JIRA) wrote:
>      [ https://issues.apache.org/jira/browse/UIMA-5595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Richard Eckart de Castilho reopened UIMA-5595:
> ----------------------------------------------
>
> Reopening this. We seem to have undesired empty lines:
>
> {noformat}
> DocumentMetaData:1
>    sofa: _InitialView
>    begin: 0
>    end: 92
>    language: "de"
>
>
>    documentId: "1"
>
>
>
>
>    isLastSegment: false
> {noformat}
>
>> uv3 toString for FeatureStructures seems not quite right
>> --------------------------------------------------------
>>
>>                 Key: UIMA-5595
>>                 URL: https://issues.apache.org/jira/browse/UIMA-5595
>>             Project: UIMA
>>          Issue Type: Bug
>>          Components: Core Java Framework
>>    Affects Versions: 3.0.0SDK-alpha02
>>            Reporter: Marshall Schor
>>            Assignee: Marshall Schor
>>            Priority: Minor
>>             Fix For: 3.0.0SDK-beta
>>
>>
>> uv3's impl of FeatureStructure toString was returning (in most cases) identical values as UV2, but somewhere along the line, it started calling every FS as if it had circular refs, even when it didn't.  Fix this, and see about getting the format to be identical (in most cases) to v2, for better backwards compatibility.
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.4.14#64029)
>