Functions

  commit_prediction (arg0, arg1)
  commit_segment (arg0, arg1, arg2)
  conf_override (arg0, arg1)
  context_set_encoding (ac, encoding)
  get_prediction (arg0, arg1, arg2, arg3)
  get_prediction_stat (arg0, arg1)
  get_segment (arg0, arg1, arg2, arg3, arg4)
  get_segment_stat (arg0, arg1, arg2)
  get_stat (arg0, arg1)
  get_version_string ()
  init ()
  print_context (arg0)
  quit ()
  release_context (arg0)
  reset_context (arg0)
  resize_segment (arg0, arg1, arg2)
  set_personality (arg0)
  set_prediction_string (arg0, arg1)
  set_reconversion_mode (ac, mode)
  set_string (arg0, arg1)

Details

Anthy.commit_prediction(arg0, arg1)[source]
Parameters:
Return type:

int

Anthy.commit_segment(arg0, arg1, arg2)[source]
Parameters:
Return type:

int

Anthy.conf_override(arg0, arg1)[source]
Parameters:
  • arg0 (str) –
  • arg1 (str) –
Anthy.context_set_encoding(ac, encoding)[source]
Parameters:
Return type:

int

Anthy.get_prediction(arg0, arg1, arg2, arg3)[source]
Parameters:
Return type:

int

Anthy.get_prediction_stat(arg0, arg1)[source]
Parameters:
Return type:

int

Anthy.get_segment(arg0, arg1, arg2, arg3, arg4)[source]
Parameters:
Return type:

int

Anthy.get_segment_stat(arg0, arg1, arg2)[source]
Parameters:
Return type:

int

Anthy.get_stat(arg0, arg1)[source]
Parameters:
Return type:

int

Anthy.get_version_string()[source]
Return type:str
Anthy.init()[source]
Return type:int
Anthy.print_context(arg0)[source]
Parameters:arg0 (Anthy.anthy_context_t) –
Anthy.quit()[source]
Anthy.release_context(arg0)[source]
Parameters:arg0 (Anthy.anthy_context_t) –
Anthy.reset_context(arg0)[source]
Parameters:arg0 (Anthy.anthy_context_t) –
Anthy.resize_segment(arg0, arg1, arg2)[source]
Parameters:
Anthy.set_personality(arg0)[source]
Parameters:arg0 (str) –
Return type:int
Anthy.set_prediction_string(arg0, arg1)[source]
Parameters:
Return type:

int

Anthy.set_reconversion_mode(ac, mode)[source]
Parameters:
Return type:

int

Anthy.set_string(arg0, arg1)[source]
Parameters:
Return type:

int