org.apache.uima.uimacpp
Class CppUimajEngine
java.lang.Object
org.apache.uima.uimacpp.CppUimajEngine
public class CppUimajEngine
- extends java.lang.Object
Method Summary |
int |
batchProcessComplete()
|
int |
collectionProcessComplete()
|
int |
destroy()
|
protected void |
finalize()
|
byte[] |
getByteHeap()
|
int[] |
getHeap()
|
int[] |
getIndexedFSs()
|
java.lang.String |
getLastExceptionString()
|
long[] |
getLongHeap()
|
short[] |
getShortHeap()
|
java.lang.String[] |
getStringTable()
|
static java.lang.String |
getVersion()
|
int |
initialize(java.lang.String config,
java.lang.String dataPath,
int[] typeInheritance,
int[] typePriorities,
int[] featureDefs,
int[] featureOffset,
java.lang.String[] typeNames,
java.lang.String[] featureNames,
int[] stringSubTypes,
java.lang.String[] stringSubTypeValues,
int[] stringSubTypeValuePos,
java.lang.String[] indexIDs,
int[] indexKinds,
int[] compStarts,
int[] compDefs)
|
int |
process(java.lang.String doc,
int[] heapArray,
int[] fsIndex,
java.lang.String[] stringTable,
int[] resultSpecTypes,
int[] resultSpecFeatures,
int sofaNum,
byte[] aByteHeapArray,
short[] aShortHeapArray,
long[] aLongHeapArray)
|
java.lang.String |
resolveImports(java.lang.String inDesc,
java.lang.String dataPath)
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CppUimajEngine
public CppUimajEngine()
initialize
public int initialize(java.lang.String config,
java.lang.String dataPath,
int[] typeInheritance,
int[] typePriorities,
int[] featureDefs,
int[] featureOffset,
java.lang.String[] typeNames,
java.lang.String[] featureNames,
int[] stringSubTypes,
java.lang.String[] stringSubTypeValues,
int[] stringSubTypeValuePos,
java.lang.String[] indexIDs,
int[] indexKinds,
int[] compStarts,
int[] compDefs)
process
public int process(java.lang.String doc,
int[] heapArray,
int[] fsIndex,
java.lang.String[] stringTable,
int[] resultSpecTypes,
int[] resultSpecFeatures,
int sofaNum,
byte[] aByteHeapArray,
short[] aShortHeapArray,
long[] aLongHeapArray)
getHeap
public int[] getHeap()
getIndexedFSs
public int[] getIndexedFSs()
getStringTable
public java.lang.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()
resolveImports
public java.lang.String resolveImports(java.lang.String inDesc,
java.lang.String dataPath)
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
- Throws:
java.lang.Throwable
getLastExceptionString
public java.lang.String getLastExceptionString()
getVersion
public static java.lang.String getVersion()
Copyright © 2012. All Rights Reserved.