sugaroid package¶
Subpackages¶
- sugaroid.backend package
- sugaroid.brain package
- Submodules
- sugaroid.brain.about module
- sugaroid.brain.aki module
- sugaroid.brain.areyou module
- sugaroid.brain.assertive module
- sugaroid.brain.because module
- sugaroid.brain.brain module
- sugaroid.brain.bye module
- sugaroid.brain.canmay module
- sugaroid.brain.constants module
- sugaroid.brain.convert module
- sugaroid.brain.covid module
- sugaroid.brain.debug module
- sugaroid.brain.dis module
- sugaroid.brain.do module
- sugaroid.brain.dolike module
- sugaroid.brain.either module
- sugaroid.brain.emotion module
- sugaroid.brain.feel module
- sugaroid.brain.fun module
- sugaroid.brain.hangman module
- sugaroid.brain.iam module
- sugaroid.brain.idk module
- sugaroid.brain.imitate module
- sugaroid.brain.interrupt module
- sugaroid.brain.joke module
- sugaroid.brain.learn module
- sugaroid.brain.let module
- sugaroid.brain.myname module
- sugaroid.brain.news module
- sugaroid.brain.ok module
- sugaroid.brain.oneword module
- sugaroid.brain.ooo module
- sugaroid.brain.play module
- sugaroid.brain.postprocessor module
- sugaroid.brain.preprocessors module
- sugaroid.brain.reader module
- sugaroid.brain.rereversei module
- sugaroid.brain.reset module
- sugaroid.brain.reset_trivia module
- sugaroid.brain.reversethink module
- sugaroid.brain.saypls module
- sugaroid.brain.swaglyrics module
- sugaroid.brain.time module
- sugaroid.brain.trivia module
- sugaroid.brain.twoword module
- sugaroid.brain.update module
- sugaroid.brain.utils module
- sugaroid.brain.waitwhat module
- sugaroid.brain.whatamidoing module
- sugaroid.brain.whatwhat module
- sugaroid.brain.whoami module
- sugaroid.brain.why module
- sugaroid.brain.wiki module
- sugaroid.brain.wolfalpha module
- sugaroid.brain.yesno module
- Module contents
- sugaroid.cli package
- sugaroid.config package
- sugaroid.core package
- sugaroid.game package
- sugaroid.google package
- sugaroid.gui package
- sugaroid.platform package
- sugaroid.reader package
- sugaroid.trainer package
- sugaroid.translator package
- sugaroid.trivia package
- sugaroid.tts package
Submodules¶
sugaroid.sugaroid module¶
- class sugaroid.sugaroid.Sugaroid(readonly: bool = True, should_copy_db: bool = True, db_name: str = 'sugaroid.db')[source]¶
Bases:
object
Sugaroid Initates the chatbot class and connects logic Adapters together. Initates the ConfigManager to store sugaroid data and connects scans sys.argv
- corpus()[source]¶
Train data if it doesn’t exists. Periodically update the data too :return: True when the process is complete
- display_cli(response)[source]¶
Classic display adapter for TTY Sugaroid Command Line Interface :param response: :return:
- loop_gui()[source]¶
Launch the sugaroid PyQt5 gui with Breeze theme and custom features If PyQt5 not installed, raise ModuleNotFoundError :return:
- parse(args)[source]¶
Do a simple parsing of the init statement. Classify statement on the type of input_statement and confidence of each statement :param args: :return: