| Modifier and Type | Method and Description |
|---|---|
static org.bridj.Pointer<HunspellLibrary.Hunhandle> |
HunspellLibrary.Hunspell_create_key(org.bridj.Pointer<Byte> affpath,
org.bridj.Pointer<Byte> dpath,
org.bridj.Pointer<Byte> key)
This constructor must be used if the dictionary/affix files were compressed/encrypted
using the Hunspell hzip program.
|
static org.bridj.Pointer<HunspellLibrary.Hunhandle> |
HunspellLibrary.Hunspell_create(org.bridj.Pointer<Byte> affpath,
org.bridj.Pointer<Byte> dpath)
This will instantiate the Hunspell object and return a handle to it.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
HunspellLibrary.Hunspell_add_dic(org.bridj.Pointer<HunspellLibrary.Hunhandle> pHunspell,
org.bridj.Pointer<Byte> dpath)
Add dictionary (.dic file only)
|
static int |
HunspellLibrary.Hunspell_add_with_affix(org.bridj.Pointer<HunspellLibrary.Hunhandle> pHunspell,
org.bridj.Pointer<Byte> word,
org.bridj.Pointer<Byte> example)
add word to the run-time dictionary with affix flags of the example (a
dictionary word): Hunspell will recognize affixed forms of the new word,
too.
|
static int |
HunspellLibrary.Hunspell_add(org.bridj.Pointer<HunspellLibrary.Hunhandle> pHunspell,
org.bridj.Pointer<Byte> word)
add word to the run-time dictionary
|
static int |
HunspellLibrary.Hunspell_analyze(org.bridj.Pointer<HunspellLibrary.Hunhandle> pHunspell,
org.bridj.Pointer<org.bridj.Pointer<org.bridj.Pointer<Byte>>> slst,
org.bridj.Pointer<Byte> word)
morphological analysis of the word
|
static void |
HunspellLibrary.Hunspell_destroy(org.bridj.Pointer<HunspellLibrary.Hunhandle> pHunspell)
This calls the destructor on the Hunspell object.
|
static void |
HunspellLibrary.Hunspell_free_list(org.bridj.Pointer<HunspellLibrary.Hunhandle> pHunspell,
org.bridj.Pointer<org.bridj.Pointer<org.bridj.Pointer<Byte>>> slst,
int n)
free suggestion lists
|
static int |
HunspellLibrary.Hunspell_generate(org.bridj.Pointer<HunspellLibrary.Hunhandle> pHunspell,
org.bridj.Pointer<org.bridj.Pointer<org.bridj.Pointer<Byte>>> slst,
org.bridj.Pointer<Byte> word,
org.bridj.Pointer<Byte> word2)
morphological generation by example(s)
|
static int |
HunspellLibrary.Hunspell_generate2(org.bridj.Pointer<HunspellLibrary.Hunhandle> pHunspell,
org.bridj.Pointer<org.bridj.Pointer<org.bridj.Pointer<Byte>>> slst,
org.bridj.Pointer<Byte> word,
org.bridj.Pointer<org.bridj.Pointer<Byte>> desc,
int n)
generation by morph.
|
static org.bridj.Pointer<Byte> |
HunspellLibrary.Hunspell_get_dic_encoding(org.bridj.Pointer<HunspellLibrary.Hunhandle> pHunspell)
This retrieves the encoding of the dictionary that the Hunspell instance
was instantiated with.
|
static int |
HunspellLibrary.Hunspell_remove(org.bridj.Pointer<HunspellLibrary.Hunhandle> pHunspell,
org.bridj.Pointer<Byte> word)
remove word from the run-time dictionary
|
static int |
HunspellLibrary.Hunspell_spell(org.bridj.Pointer<HunspellLibrary.Hunhandle> pHunspell,
org.bridj.Pointer<Byte> word)
spellcheck word
|
static int |
HunspellLibrary.Hunspell_stem(org.bridj.Pointer<HunspellLibrary.Hunhandle> pHunspell,
org.bridj.Pointer<org.bridj.Pointer<org.bridj.Pointer<Byte>>> slst,
org.bridj.Pointer<Byte> word)
stemmer function
|
static int |
HunspellLibrary.Hunspell_stem2(org.bridj.Pointer<HunspellLibrary.Hunhandle> pHunspell,
org.bridj.Pointer<org.bridj.Pointer<org.bridj.Pointer<Byte>>> slst,
org.bridj.Pointer<org.bridj.Pointer<Byte>> desc,
int n)
get stems from a morph.
|
static int |
HunspellLibrary.Hunspell_suggest(org.bridj.Pointer<HunspellLibrary.Hunhandle> pHunspell,
org.bridj.Pointer<org.bridj.Pointer<org.bridj.Pointer<Byte>>> slst,
org.bridj.Pointer<Byte> word)
search suggestions
|
Copyright © 2012-2016 Atlas Copco Drilling Solutions. All Rights Reserved.