Class CppUimajEngine


  • public class CppUimajEngine
    extends Object
    • Constructor Detail

      • CppUimajEngine

        public CppUimajEngine()
    • 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()
      • getLastExceptionString

        public String getLastExceptionString()
      • getVersion

        public static String getVersion()