| Top |
|
|
e_spell_dictionary_new () |
|
|
e_spell_dictionary_new_bare () |
|
|
e_spell_dictionary_hash () |
|
|
e_spell_dictionary_equal () |
|
|
e_spell_dictionary_compare () |
| const |
e_spell_dictionary_get_name () |
| const |
e_spell_dictionary_get_code () |
| struct |
e_spell_dictionary_ref_spell_checker () |
|
|
e_spell_dictionary_check_word () |
|
|
e_spell_dictionary_learn_word () |
|
|
e_spell_dictionary_ignore_word () |
|
|
e_spell_dictionary_get_suggestions () |
|
|
e_spell_dictionary_store_correction () |
ESpellDictionary * e_spell_dictionary_new (struct _ESpellChecker *spell_checker,);EnchantDict *enchant_dict
ESpellDictionary * e_spell_dictionary_new_bare (struct _ESpellChecker *spell_checker,const);gchar *language_tag
guint e_spell_dictionary_hash ();ESpellDictionary *dictionary
Generates a hash value for dictionary
based on its ISO code.
This function is intended for easily hashing an
gboolean e_spell_dictionary_equal (,ESpellDictionary *dictionary1);ESpellDictionary *dictionary2
Checks two
gint e_spell_dictionary_compare (,ESpellDictionary *dictionary1);ESpellDictionary *dictionary2
Compares dictionary1
and dictionary2
by their display names for
the purpose of lexicographical sorting. Use this function where a
g_list_sort()
constgchar * e_spell_dictionary_get_name ();ESpellDictionary *dictionary
Returns the display name of the dictionary (for example "English (British)")
constgchar * e_spell_dictionary_get_code ();ESpellDictionary *dictionary
Returns the ISO code of the spell-checking language for
dictionary
(for example "en_US").
struct_ESpellChecker * e_spell_dictionary_ref_spell_checker ();ESpellDictionary *dictionary
Returns a new reference to the g_object_unref()
gboolean e_spell_dictionary_check_word (,ESpellDictionary *dictionaryconst,gchar *word);gsize length
Tries to lookup the word
in the dictionary
to check whether
it's spelled correctly or not.
void e_spell_dictionary_learn_word (,ESpellDictionary *dictionaryconst,gchar *word);gsize length
Permanently adds word
to dictionary
so that next time calling
e_spell_dictionary_check()word
will return TRUE
void e_spell_dictionary_ignore_word (,ESpellDictionary *dictionaryconst,gchar *word);gsize length
Adds word
to temporary ignore list of the dictionary
, so that
e_spell_dictionary_check()word
will return TRUE
GList * e_spell_dictionary_get_suggestions (,ESpellDictionary *dictionaryconst,gchar *word);gsize length
Provides list of alternative spellings of word
.
Free the returned spelling suggestions with g_free()g_list_free()
g_list_free_full (list, (GDestroyNotify) g_free);