| Top |
| void | kkc_bigram_decoder_add_unknown_nodes () |
| GeeArrayList ** | kkc_bigram_decoder_build_trellis () |
| void | kkc_bigram_decoder_forward_search () |
| gdouble | kkc_bigram_decoder_path_cost () |
| KkcSegment ** | kkc_bigram_decoder_backward_search () |
| KkcBigramDecoder * | kkc_bigram_decoder_new () |
| KkcBigramLanguageModel * | kkc_bigram_decoder_get_model () |
| #define | KKC_TYPE_BIGRAM_DECODER |
| struct | KkcBigramDecoder |
| struct | KkcBigramDecoderClass |
void kkc_bigram_decoder_add_unknown_nodes (KkcBigramDecoder *self,GeeArrayList **trellis,int trellis_length1,const gchar *input,gint *constraint,int constraint_length1);
self |
the KkcBigramDecoder instance |
|
trellis_length1 |
length of the |
|
constraint_length1 |
length of the |
|
trellis |
|
|
input |
|
|
constraint |
|
GeeArrayList ** kkc_bigram_decoder_build_trellis (KkcBigramDecoder *self,const gchar *input,gint *constraint,int constraint_length1,int *result_length1);
self |
the KkcBigramDecoder instance |
|
constraint_length1 |
length of the |
|
input |
|
|
constraint |
|
void kkc_bigram_decoder_forward_search (KkcBigramDecoder *self,GeeArrayList **trellis,int trellis_length1,const gchar *input);
self |
the KkcBigramDecoder instance |
|
trellis_length1 |
length of the |
|
trellis |
|
|
input |
|
gdouble kkc_bigram_decoder_path_cost (KkcBigramDecoder *self,KkcTrellisNode *pnode,KkcTrellisNode *node,gint endpos);
KkcSegment ** kkc_bigram_decoder_backward_search (KkcBigramDecoder *self,GeeArrayList **trellis,int trellis_length1,gint nbest,gdouble max_distance,gdouble min_path_cost,int *result_length1);
self |
the KkcBigramDecoder instance |
|
trellis_length1 |
length of the |
|
trellis |
|
|
nbest |
|
|
max_distance |
|
|
min_path_cost |
|
KkcBigramDecoder *
kkc_bigram_decoder_new (KkcBigramLanguageModel *model);
KkcBigramLanguageModel *
kkc_bigram_decoder_get_model (KkcBigramDecoder *self);
Get and return the current value of the "model" property.
#define KKC_TYPE_BIGRAM_DECODER (kkc_bigram_decoder_get_type ())
The type for KkcBigramDecoder.
struct KkcBigramDecoderClass {
KkcDecoderClass parent_class;
gdouble (*path_cost) (KkcBigramDecoder* self, KkcTrellisNode* pnode, KkcTrellisNode* node, gint endpos);
};
The class structure for KKC_TYPE_BIGRAM_DECODER. All the fields in this structure are private and should never be accessed directly.