Skip to content

Config_Bot_Spelling

Keith Sterling edited this page Aug 1, 2017 · 6 revisions

Bot Spelling Configuration

bot:
    spelling:
      classname: programy.utils.spelling.checker.SpellingChecker
      corpus: $BOT_ROOT/spelling/corpus.txt
      check_before: false
      check_and_retry: false
Name Description Example Default
classname Full Python Class Path to Spelling Class programy.utils.spelling.checker.SpellingChecker None
corpus Path to file containing spelling corpus $BOT_ROOT/spelling/corpus.txt None
check_before Check spelling of sentence before asking question true false
check_and_retry Only check spelling of sentence if question fails to get a response, then retry corrected sentence true false
Clone this wiki locally