Anthy.GContext¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
||
pdummy |
[ |
r |
Class Details¶
- class Anthy.GContext(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An
Anthy.GContext
is an object that handles conversion strings.- classmethod new()¶
- Returns:
A newly allocated
Anthy.GContext
- Return type:
New an #AnthyGobject.
- commit_prediction(nth_seg)¶
-
Commit a prediction string with ntg_seg .
- commit_segment(nth_seg, nth_lookup)¶
-
Commit a string with ntg_seg and nth_lookup.
- do_set_personality(dict_name)¶
-
Set a personal dictionary.
- get_nr_candidates(nth_seg)¶
-
The number of the candidates
- get_nr_predictions()¶
- Returns:
The number of the converted segments in the current prediction string.
- Return type:
The number of the converted segments in the current prediction string.
- get_nr_segments()¶
- Returns:
The number of the converted segments
- Return type:
The number of the converted segments
- get_prediction(nth_seg)¶
-
A newly assigned string with ntg_seg .
- get_segment(nth_seg, nth_lookup)¶
- Parameters:
- Returns:
A newly assigned string.
- Return type:
A newly assigned string with ntg_seg and nth_lookup .
- init_personality()¶
Initialize the personal dictionaries.
- resize_segment(nth, resize)¶
-
Resize the nth segment.
- set_prediction_string(string)¶
-
Set a prediction string.