ChatterBot
ChatterBot copied to clipboard
UbuntuCorpus Multiprocessing Error?
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable.
I always get this error when I try to train the bot. I think downloading and unpacking the massive corpus data is fine.
I have an additional question. I have like 8000 small yml files that I would like to train. Training them works fine but it takes a long time. Is there a way to integrate multi-processing with the training function of ChatterBot?