Skip to content

Instantly share code, notes, and snippets.

@jrabbit
Created July 6, 2010 17:23
Show Gist options
  • Save jrabbit/465651 to your computer and use it in GitHub Desktop.
Save jrabbit/465651 to your computer and use it in GitHub Desktop.
# Total of aliases known #
num_aliases = 0
# If True, Pyborg don't saves the dictionary and configuration on disk #
no_save = 'False'
# Total word contexts #
num_contexts = 22
# Words that can be ignored for the answer #
ignore_list = ['!.', '?.', "'", ',', ';']
# max limits in the number of words known #
max_words = 6000
# Allow the bot to learn #
learning = 1
# Wich way for generate the reply ( pyborg|megahal) #
process_with = 'pyborg'
# A list of similars words #
aliases = {}
# Don't learn the sentence if one of those words is found #
censored = []
# Total unique words known #
num_words = 17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment