edu.ucdenver.ccp.nlp.biolemmatizer.uima
Class UimaUtil
java.lang.Object
  
edu.ucdenver.ccp.nlp.biolemmatizer.uima.UimaUtil
public class UimaUtil
- extends Object
 
This class contains a few simple utility methods related to UIMA
- Author:
 
  - Colorado Computational Pharmacology, UC Denver; ccpsupport@ucdenver.edu
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
UimaUtil
public UimaUtil()
addToFSArray
public static FSArray addToFSArray(FSArray fsArray,
                                   TOP featureStructureToAdd,
                                   JCas jcas)
- Adds a single feature structure to the input 
FSArray. IF the input FSArray is
 null, a new one is initialized
- Parameters:
 fsArray - featureStructureToAdd - jcas - 
- Returns:
 - a copy of the input 
FSArray with the input featureStructureToAdd added to it 
 
 
addToStringArray
public static StringArray addToStringArray(StringArray stringArray,
                                           String stringToAdd,
                                           JCas jcas)
- Adds a single String to the input 
StringArray. If the input StringArray is
 null, a new one is initialized
- Parameters:
 stringArray - stringToAdd - jcas - 
- Returns:
 - a copy of the input 
StringArray with the input stringToAdd added to it 
 
 
Copyright © 2013. All Rights Reserved.