Hi James, I suggest commenting out the unused code - would that work?
-Marshall (feeling conservative ...) On 10/30/2013 7:04 PM, James Jichun Zhu wrote: > Hi, Marshall Schor: > > I am looking into implementing a new mode for the annotation viewer (for > details please see the UIMA issue #3374). I do feel the new feature I am > about to implement will be of great value and intend to contribute it back > to the UIMA code base once I have successfully implemented it. > > While going through the source code, I noticed that the code (more > specifically, a class org.apache.uima.tools.viewer.CasAnnotationViewer in > the SVN trunk) has not been significantly updated ever since its initial > import on 11/02/2006. There is a feature called "entity mode" that is > half-baked and disabled since it was not quite completed. It significantly > complicated the code structure and made my implementation of the new view > mode unnecessarily complicated as well. > > So, I am wondering if we should clean out the unused code so I can > implement the new feature on a cleaner code base. If you can get hold of > whoever that used to own this piece of code and get some of his/her opinion > of it that would be great too. > > Thanks! > > James > > > On Fri, Oct 25, 2013 at 1:31 AM, Peter Klügl (JIRA) > <[email protected]>wrote: > >> [ >> https://issues.apache.org/jira/browse/UIMA-3374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13805161#comment-13805161] >> >> Peter Klügl commented on UIMA-3374: >> ----------------------------------- >> >> I had lately a discussion about different highlighting in the CAS Editor >> dependent on the feature values (as the CAS Editor assigns one color to one >> type, impractical if the semantic is defined by a feature). I will probably >> open the same feature request for the CAS Editor sometime. >> >> As a side note: >> The UIMA Ruta Workbench provides a view for querying collections of xmi >> files with rules. You could use that view for getting a list of all >> annotations with a certain feature value. >> >>> A new mode for annotation viewer based on feature values >>> -------------------------------------------------------- >>> >>> Key: UIMA-3374 >>> URL: https://issues.apache.org/jira/browse/UIMA-3374 >>> Project: UIMA >>> Issue Type: Improvement >>> Components: InternalTools >>> Affects Versions: 2.5.0SDK >>> Reporter: James Zhu >>> Priority: Minor >>> Labels: newbie >>> Original Estimate: 504h >>> Remaining Estimate: 504h >>> >>> I'd like to propose adding a new "view mode" in the UIMA Annotation >> Viewer so that user can pick a specific type of annotations, and then pick >> a specific feature, and pick specific feature values available so user can >> see a subset of those annotation objects that have the specific feature >> values. >> >> >> >> -- >> This message was sent by Atlassian JIRA >> (v6.1#6144) >>
