| Top |
| gboolean | kkc_sentence_dictionary_lookup_constraint () |
| gboolean | kkc_sentence_dictionary_lookup_phrase () |
| gboolean | kkc_sentence_dictionary_select_segments () |
KkcSentenceDictionary is implemented by KkcUserDictionary and KkcUserSentenceDictionary.
gboolean kkc_sentence_dictionary_lookup_constraint (KkcSentenceDictionary *self,const gchar *input,gint **constraint,int *constraint_length1);
Lookup constraint.
self |
the KkcSentenceDictionary instance |
|
input |
. input string to lookup . |
[in] |
constraint |
. output location of constraint . |
[out][array length=constraint_length1] |
constraint_length1 |
length of the |
gboolean kkc_sentence_dictionary_lookup_phrase (KkcSentenceDictionary *self,gchar **input,int input_length1,gchar ***phrase,int *phrase_length1);
Lookup phrase.
self |
the KkcSentenceDictionary instance |
|
input |
. input sequence to lookup . |
[in][array length=input_length1] |
input_length1 |
length of the |
|
phrase |
. output location of phrase . |
[out][array length=phrase_length1] |
phrase_length1 |
length of the |
gboolean kkc_sentence_dictionary_select_segments (KkcSentenceDictionary *self,KkcSegment **input,int input_length1);
typedef struct _KkcSentenceDictionary KkcSentenceDictionary;
Base interface of sentence dictionaries.
struct KkcSentenceDictionaryIface {
GTypeInterface parent_iface;
gboolean (*lookup_constraint) (KkcSentenceDictionary* self, const gchar* input, gint** constraint, int* constraint_length1);
gboolean (*lookup_phrase) (KkcSentenceDictionary* self, gchar** input, int input_length1, gchar*** phrase, int* phrase_length1);
gboolean (*select_segments) (KkcSentenceDictionary* self, KkcSegment** input, int input_length1);
};
Interface for creating KkcSentenceDictionary implementations.
the parent interface structure |
||
virtual method called by |
||
virtual method called by |
||
virtual method called by |