Package org.apache.uima.uimacpp
Class CppUimajEngine
java.lang.Object
org.apache.uima.uimacpp.CppUimajEngine
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AnalysisEngineprivate byte[]private CASImplprivate CasConsumerprivate Stringprivate int[]private int[]private long[]private booleanprivate short[]private String[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintdestroy()protected voidfinalize()byte[]int[]getHeap()int[]long[]short[]String[]static Stringintinitialize(String config, String dataPath, int[] typeInheritance, int[] typePriorities, int[] featureDefs, int[] featureOffset, String[] typeNames, String[] featureNames, int[] stringSubTypes, String[] stringSubTypeValues, int[] stringSubTypeValuePos, String[] indexIDs, int[] indexKinds, int[] compStarts, int[] compDefs) private voidlogException(Exception exc) intprocess(String doc, int[] heapArray, int[] fsIndex, String[] stringTable, int[] resultSpecTypes, int[] resultSpecFeatures, int sofaNum, byte[] aByteHeapArray, short[] aShortHeapArray, long[] aLongHeapArray) resolveImports(String inDesc, String dataPath) private voidsaveSerializedCAS(CASSerializer deSerializer) (package private) String
-
Field Details
-
exceptionString
-
ae
-
cc
-
requiresTCas
private boolean requiresTCas -
casImpl
-
heap
private int[] heap -
indexedFSs
private int[] indexedFSs -
stringSymbolTable
-
byteHeapArray
private byte[] byteHeapArray -
shortHeapArray
private short[] shortHeapArray -
longHeapArray
private long[] longHeapArray
-
-
Constructor Details
-
CppUimajEngine
public CppUimajEngine()
-
-
Method Details
-
logException
-
initialize
public int initialize(String config, String dataPath, int[] typeInheritance, int[] typePriorities, int[] featureDefs, int[] featureOffset, String[] typeNames, String[] featureNames, int[] stringSubTypes, String[] stringSubTypeValues, int[] stringSubTypeValuePos, String[] indexIDs, int[] indexKinds, int[] compStarts, int[] compDefs) -
stringTableToString
-
process
-
saveSerializedCAS
-
getHeap
public int[] getHeap() -
getIndexedFSs
public int[] getIndexedFSs() -
getStringTable
-
getByteHeap
public byte[] getByteHeap() -
getShortHeap
public short[] getShortHeap() -
getLongHeap
public long[] getLongHeap() -
destroy
public int destroy() -
batchProcessComplete
public int batchProcessComplete() -
collectionProcessComplete
public int collectionProcessComplete() -
resolveImports
-
finalize
-
getLastExceptionString
-
getVersion
-