TomoeContext

TomoeContext

Functions

Properties

TomoeRecognizer * recognizer Read / Write / Construct Only

Types and Values

struct TomoeContext

Object Hierarchy

    GObject
    ╰── TomoeContext

Description

Functions

tomoe_context_new ()

TomoeContext *
tomoe_context_new (void);

Create a new TomoeContext.

Returns

a new TomoeContext.


tomoe_context_load_config ()

void
tomoe_context_load_config (TomoeContext *ctx,
                           const gchar *config_file);

Load dictionaries into configuration file.

Parameters

ctx

a TomoeContext.

 

config_file

the filename of configuration file to load.

 

tomoe_context_search ()

GList *
tomoe_context_search (TomoeContext *ctx,
                      TomoeQuery *query);

tomoe_context_multi_search ()

GList *
tomoe_context_multi_search (TomoeContext *ctx,
                            GList *queries);

tomoe_context_get_char ()

TomoeChar *
tomoe_context_get_char (TomoeContext *ctx,
                        const gchar *utf8);

tomoe_context_register ()

gboolean
tomoe_context_register (TomoeContext *ctx,
                        TomoeChar *chr);

tomoe_context_unregister ()

gboolean
tomoe_context_unregister (TomoeContext *ctx,
                          const gchar *utf8);

Types and Values

struct TomoeContext

struct TomoeContext;

Property Details

The “recognizer” property

  “recognizer”               TomoeRecognizer *

The recognizer of the context.

Flags: Read / Write / Construct Only