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

Marshall Schor commented on UIMA-1043:
--------------------------------------

How does the pretty printer show shared structure?  Do you use something like 
Lisp's pretty printing technique of labeling things like #1= and having refs 
like #1# or something else?

FeatureStructureImpl seems to use the method StringUtils.printSpaces(int n) 
which just sticks in blanks.  I don't see where it's using tabs?

> Extend CAS Feature Structure pretty print code to support printing the 
> elements of an FSArray
> ---------------------------------------------------------------------------------------------
>
>                 Key: UIMA-1043
>                 URL: https://issues.apache.org/jira/browse/UIMA-1043
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>            Reporter: Marshall Schor
>            Priority: Minor
>
> The "toString()" method on an instance of a FeatureStructure does a nice job 
> of printing it out, but doesn't descend into the contents of a feature which 
> is an FSArray.  Here's a pretty printed example that shows this:
> instance RelationInstance
>    sofa: _InitialView
>    begin: 2328
>    end: 2355
>    relation: Merger
>       company: FSArray
>       status: "known"
> It would be nice if it did, and if it made use of the circularity detection 
> mechanism, as well

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to