Package org.apache.uima.uimacpp
Class CppUimajEngine
- java.lang.Object
-
- org.apache.uima.uimacpp.CppUimajEngine
-
public class CppUimajEngine extends Object
-
-
Constructor Summary
Constructors Constructor Description CppUimajEngine()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
batchProcessComplete()
int
collectionProcessComplete()
int
destroy()
protected void
finalize()
byte[]
getByteHeap()
int[]
getHeap()
int[]
getIndexedFSs()
String
getLastExceptionString()
long[]
getLongHeap()
short[]
getShortHeap()
String[]
getStringTable()
static String
getVersion()
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)
int
process(String doc, int[] heapArray, int[] fsIndex, String[] stringTable, int[] resultSpecTypes, int[] resultSpecFeatures, int sofaNum, byte[] aByteHeapArray, short[] aShortHeapArray, long[] aLongHeapArray)
String
resolveImports(String inDesc, String dataPath)
-
-
-
Method Detail
-
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)
-
process
public int process(String doc, int[] heapArray, int[] fsIndex, String[] stringTable, int[] resultSpecTypes, int[] resultSpecFeatures, int sofaNum, byte[] aByteHeapArray, short[] aShortHeapArray, long[] aLongHeapArray)
-
getHeap
public int[] getHeap()
-
getIndexedFSs
public int[] getIndexedFSs()
-
getStringTable
public String[] 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()
-
finalize
protected void finalize() throws Throwable
-
getLastExceptionString
public String getLastExceptionString()
-
getVersion
public static String getVersion()
-
-