Home

Awesome

librime-predict

librime plugin. predict next word.

Usage

patch:
  'engine/processors/@before 0': predictor
  'engine/translators/@before 0': predict_translator
switches:
  - name: prediction
    states: [ 關閉預測, 開啓預測 ]
    reset: 1
predictor:
  # predict db file in user directory/shared directory
  # default to 'predict.db'
  db: predict.db
  # max prediction candidates every time
  # default to 0, which means showing all candidates
  # you may set it the same with page_size so that period doesn't trigger next page
  max_candidates: 5
  # max continuous prediction times
  # default to 0, which means no limitation
  max_iterations: 1