added sen_ctx flags.
@@ -19,7 +19,7 @@ | ||
19 | 19 | package senna; |
20 | 20 | |
21 | 21 | /** |
22 | - * Senna Java Binding. | |
22 | + * Senna Java Binding | |
23 | 23 | */ |
24 | 24 | public class Senna { |
25 | 25 |
@@ -80,10 +80,22 @@ | ||
80 | 80 | |
81 | 81 | /** sen_enc_koi8r */ |
82 | 82 | public static final int SEN_ENC_KOI8R = 6; |
83 | - | |
83 | + | |
84 | 84 | /** SEN_SNIP_NORMALIZE */ |
85 | 85 | public static final int SEN_SNIP_NORMALIZE = 0x0001; |
86 | 86 | |
87 | + /** SEN_CTX_NO_DB */ | |
88 | + public static final int SEN_CTX_NO_DB = 0x0000; | |
89 | + | |
90 | + /** SEN_CTX_USE_DB */ | |
91 | + public static final int SEN_CTX_USE_DB = 0x0001; | |
92 | + | |
93 | + /** SEN_CTX_USE_QL */ | |
94 | + public static final int SEN_CTX_USE_QL = 0x0003; | |
95 | + | |
96 | + /** SEN_CTX_BATCH_MODE */ | |
97 | + public static final int SEN_CTX_BATCH_MODE = 0x0004; | |
98 | + | |
87 | 99 | /** |
88 | 100 | * call sen_init(). |
89 | 101 | * |