Package org.apache.uima.uimacpp
Class CppUimajEngine
java.lang.Object
org.apache.uima.uimacpp.CppUimajEngine
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AnalysisEngine
private byte[]
private CASImpl
private CasConsumer
private String
private int[]
private int[]
private long[]
private boolean
private short[]
private String[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
destroy()
protected void
finalize()
byte[]
int[]
getHeap()
int[]
long[]
short[]
String[]
static String
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) private void
logException
(Exception exc) int
process
(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 void
saveSerializedCAS
(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
-