Home | History | Annotate | Download | only in libwnnDictionary
      1 /*
      2  * Copyright (C) 2008-2012  OMRON SOFTWARE Co., Ltd.
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 /* DO NOT EDIT THIS FILE - it is machine generated */
     17 #include <jni.h>
     18 /* Header for class jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni */
     19 
     20 #ifndef _Included_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
     21 #define _Included_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
     22 #ifdef __cplusplus
     23 extern "C" {
     24 #endif
     25 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_APPROX_PATTERN_EN_TOUPPER
     26 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_APPROX_PATTERN_EN_TOUPPER 0L
     27 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_APPROX_PATTERN_EN_TOLOWER
     28 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_APPROX_PATTERN_EN_TOLOWER 1L
     29 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_APPROX_PATTERN_EN_QWERTY_NEAR
     30 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_APPROX_PATTERN_EN_QWERTY_NEAR 2L
     31 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_APPROX_PATTERN_EN_QWERTY_NEAR_UPPER
     32 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_APPROX_PATTERN_EN_QWERTY_NEAR_UPPER 3L
     33 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_APPROX_PATTERN_JAJP_12KEY_NORMAL
     34 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_APPROX_PATTERN_JAJP_12KEY_NORMAL 4L
     35 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_SEARCH_EXACT
     36 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_SEARCH_EXACT 0L
     37 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_SEARCH_PREFIX
     38 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_SEARCH_PREFIX 1L
     39 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_SEARCH_LINK
     40 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_SEARCH_LINK 2L
     41 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_ORDER_BY_FREQUENCY
     42 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_ORDER_BY_FREQUENCY 0L
     43 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_ORDER_BY_KEY
     44 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_ORDER_BY_KEY 1L
     45 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_V1
     46 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_V1 0L
     47 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_V2
     48 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_V2 1L
     49 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_V3
     50 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_V3 2L
     51 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_BUNTOU
     52 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_BUNTOU 3L
     53 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_TANKANJI
     54 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_TANKANJI 4L
     55 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_SUUJI
     56 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_SUUJI 5L
     57 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_MEISI
     58 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_MEISI 6L
     59 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_JINMEI
     60 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_JINMEI 7L
     61 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_CHIMEI
     62 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_CHIMEI 8L
     63 #undef jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_KIGOU
     64 #define jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_POS_TYPE_KIGOU 9L
     65 /*
     66  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
     67  * Method:    createWnnWork
     68  * Signature: (Ljava/lang/String;)J
     69  */
     70 JNIEXPORT jlong JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createWnnWork
     71   (JNIEnv *, jclass, jstring);
     72 
     73 /*
     74  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
     75  * Method:    freeWnnWork
     76  * Signature: (J)I
     77  */
     78 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_freeWnnWork
     79   (JNIEnv *, jclass, jlong);
     80 
     81 /*
     82  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
     83  * Method:    clearDictionaryParameters
     84  * Signature: (J)I
     85  */
     86 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_clearDictionaryParameters
     87   (JNIEnv *, jclass, jlong);
     88 
     89 /*
     90  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
     91  * Method:    setDictionaryParameter
     92  * Signature: (JIII)I
     93  */
     94 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter
     95   (JNIEnv *, jclass, jlong, jint, jint, jint);
     96 
     97 /*
     98  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
     99  * Method:    searchWord
    100  * Signature: (JIILjava/lang/String;)I
    101  */
    102 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord
    103   (JNIEnv *, jclass, jlong, jint, jint, jstring);
    104 
    105 /*
    106  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    107  * Method:    getNextWord
    108  * Signature: (JI)I
    109  */
    110 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getNextWord
    111   (JNIEnv *, jclass, jlong, jint);
    112 
    113 /*
    114  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    115  * Method:    getStroke
    116  * Signature: (J)Ljava/lang/String;
    117  */
    118 JNIEXPORT jstring JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getStroke
    119   (JNIEnv *, jclass, jlong);
    120 
    121 /*
    122  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    123  * Method:    getCandidate
    124  * Signature: (J)Ljava/lang/String;
    125  */
    126 JNIEXPORT jstring JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getCandidate
    127   (JNIEnv *, jclass, jlong);
    128 
    129 /*
    130  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    131  * Method:    getFrequency
    132  * Signature: (J)I
    133  */
    134 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getFrequency
    135   (JNIEnv *, jclass, jlong);
    136 
    137 /*
    138  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    139  * Method:    getLeftPartOfSpeech
    140  * Signature: (J)I
    141  */
    142 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getLeftPartOfSpeech
    143   (JNIEnv *, jclass, jlong);
    144 
    145 /*
    146  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    147  * Method:    getRightPartOfSpeech
    148  * Signature: (J)I
    149  */
    150 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getRightPartOfSpeech
    151   (JNIEnv *, jclass, jlong);
    152 
    153 /*
    154  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    155  * Method:    clearApproxPatterns
    156  * Signature: (J)V
    157  */
    158 JNIEXPORT void JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_clearApproxPatterns
    159   (JNIEnv *, jclass, jlong);
    160 
    161 /*
    162  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    163  * Method:    setApproxPattern
    164  * Signature: (JLjava/lang/String;Ljava/lang/String;)I
    165  */
    166 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setApproxPattern__JLjava_lang_String_2Ljava_lang_String_2
    167   (JNIEnv *, jclass, jlong, jstring, jstring);
    168 
    169 /*
    170  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    171  * Method:    setApproxPattern
    172  * Signature: (JI)I
    173  */
    174 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setApproxPattern__JI
    175   (JNIEnv *, jclass, jlong, jint);
    176 
    177 /*
    178  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    179  * Method:    getApproxPattern
    180  * Signature: (JLjava/lang/String;)[Ljava/lang/String;
    181  */
    182 JNIEXPORT jobjectArray JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getApproxPattern
    183   (JNIEnv *, jclass, jlong, jstring);
    184 
    185 /*
    186  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    187  * Method:    clearResult
    188  * Signature: (J)V
    189  */
    190 JNIEXPORT void JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_clearResult
    191   (JNIEnv *, jclass, jlong);
    192 
    193 /*
    194  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    195  * Method:    setLeftPartOfSpeech
    196  * Signature: (JI)I
    197  */
    198 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setLeftPartOfSpeech
    199   (JNIEnv *, jclass, jlong, jint);
    200 
    201 /*
    202  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    203  * Method:    setRightPartOfSpeech
    204  * Signature: (JI)I
    205  */
    206 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setRightPartOfSpeech
    207   (JNIEnv *, jclass, jlong, jint);
    208 
    209 /*
    210  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    211  * Method:    setStroke
    212  * Signature: (JLjava/lang/String;)I
    213  */
    214 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setStroke
    215   (JNIEnv *, jclass, jlong, jstring);
    216 
    217 /*
    218  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    219  * Method:    setCandidate
    220  * Signature: (JLjava/lang/String;)I
    221  */
    222 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setCandidate
    223   (JNIEnv *, jclass, jlong, jstring);
    224 
    225 /*
    226  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    227  * Method:    selectWord
    228  * Signature: (J)I
    229  */
    230 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_selectWord
    231   (JNIEnv *, jclass, jlong);
    232 
    233 /*
    234  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    235  * Method:    getConnectArray
    236  * Signature: (JI)[B
    237  */
    238 JNIEXPORT jbyteArray JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getConnectArray
    239   (JNIEnv *, jclass, jlong, jint);
    240 
    241 /*
    242  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    243  * Method:    getNumberOfLeftPOS
    244  * Signature: (J)I
    245  */
    246 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getNumberOfLeftPOS
    247   (JNIEnv *, jclass, jlong);
    248 
    249 /*
    250  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    251  * Method:    getNumberOfRightPOS
    252  * Signature: (J)I
    253  */
    254 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getNumberOfRightPOS
    255   (JNIEnv *, jclass, jlong);
    256 
    257 /*
    258  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    259  * Method:    getLeftPartOfSpeechSpecifiedType
    260  * Signature: (JI)I
    261  */
    262 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getLeftPartOfSpeechSpecifiedType
    263   (JNIEnv *, jclass, jlong, jint);
    264 
    265 /*
    266  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    267  * Method:    getRightPartOfSpeechSpecifiedType
    268  * Signature: (JI)I
    269  */
    270 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getRightPartOfSpeechSpecifiedType
    271   (JNIEnv *, jclass, jlong, jint);
    272 
    273 /*
    274  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    275  * Method:    createBindArray
    276  * Signature: (JLjava/lang/String;II)[Ljava/lang/String;
    277  */
    278 JNIEXPORT jobjectArray JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createBindArray
    279   (JNIEnv *, jclass, jlong, jstring, jint, jint);
    280 
    281 /*
    282  * Class:     jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni
    283  * Method:    createQueryStringBase
    284  * Signature: (JIILjava/lang/String;)Ljava/lang/String;
    285  */
    286 JNIEXPORT jstring JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createQueryStringBase
    287   (JNIEnv *, jclass, jlong, jint, jint, jstring);
    288 
    289 #ifdef __cplusplus
    290 }
    291 #endif
    292 #endif
    293