MARK AI Engine is a Markov chain based program that simulates human behaviour. It mostly uses probability, and is not enough for real artificial intelligence. But, it does learn from previous inputs. MARK AI may produce very nonsensical outputs. This is normal. The longer your corpus, the more sensical it is though. MARK AI is not a human. Do not treat it as such. Beep.
Credit to Peter Pan by James Matthew Barrie, which is used for the training text. You may use this project's engine with credit. Instructions to backpack this engine is in the code. A good corpus is Alice's Adventures in Wonderland by Lewis Carroll: https://www.gutenberg.org/cache/epub/11/pg11.txt Please note that you should not search Project Gutenberg yourself, because it is not entirely intended for younger audiences.