uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Riebling <e...@cs.cmu.edu>
Subject CAS Editor: link feature structure with other FSes
Date Wed, 20 Jun 2012 21:27:06 GMT
I know the instructions say that you can create referenced feature structures
including arrays, and that you can link a feature structure with other feature
structures.  But the instructions leave out the details of HOW.  Somehow the
phrases "it can be pinned to the edit view" and "This means that it does not
change if the selection changes" are not enough information to complete the
action.

What should be pinned, what should be selected?  The annotation being
added, or the feature structure being referenced (linked)?

I have a suspicion that this is glossing over what CANNOT be done:
creating an array of feature structures that are links to other
feature structures.  Like an FSArray of uima.tcas.Annotation

Here's what I try.  The type being added (let's call it 'Relation') has a Feature
named 'args' which is a FSArray of annotations of type Annotation

  * set the CAS Editor Mode to Relation by right-clicking in
	the middle of the text and choosing Relation from the
	pop-up menu
  * select and highlight a range of text
  * Type shift-Enter, then type the keyboard shortcut key
	for Relation from the pop-up menu
  * In the Edit View associated with the newly created Relation,
	click on 'args'
  * click the plus sign to create an array, and in the pop-up
	Array size dialog box, enter for Size: 2
  * NOTHING HAPPENS

-- 
Eric Riebling                 Senior Research Programmer
http://ericriebling.com       CMU Language Technologies Institute
      


Mime
View raw message