{"_id":"jsmegahal","_rev":"43-9f119ee7697aaf8be285bb8679523fa8","name":"jsmegahal","description":"A port of the MegaHal AI to JS","dist-tags":{"latest":"1.2.4"},"versions":{"1.1.0":{"name":"jsmegahal","version":"1.1.0","description":"A port of the MegaHal AI to JS","main":"index.js","scripts":{"test":"grunt test","prepublish":"grunt"},"repository":{"type":"git","url":"https://github.com/seiyria/jsmegahal.git"},"keywords":["ai","megahal","markov","chat","chatbot"],"author":{"name":"Kyle Kemp","email":"kyle@seiyria.com","url":"http://seiyria.com/"},"license":"Apache 2","bugs":{"url":"https://github.com/seiyria/jsmegahal/issues"},"devDependencies":{"chai":"~1.8.1","grunt-contrib-coffee":"~0.8.2","mocha":"~1.17.0","grunt-contrib-watch":"~0.5.3","grunt-contrib-uglify":"~0.3.1","grunt-mocha-test":"~0.8.2","grunt":"~0.4.2"},"_id":"jsmegahal@1.1.0","dist":{"shasum":"424533f37826727c20a332d300f46841b1e2d941","tarball":"https://registry.npmjs.org/jsmegahal/-/jsmegahal-1.1.0.tgz","integrity":"sha512-eqjnE5x8CMKY4JYqpxLX9MNg7lP1miHLan6Tg0KkxDhFAI8dvB10Ohp2PkmdWfeFcht0GjvVgj6qrcrdD63wLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNpXaFUZmpuvfTdcJ3+8ZZ8SQTCN6b51K3KKop0jrteQIgX+CgWILB8FLRamRzQyK/41v9nbvFHILSRahvyr1j9Ek="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"seiyria","email":"kyle@seiyria.com"},"maintainers":[{"name":"seiyria","email":"kyle@seiyria.com"}],"directories":{}},"1.1.1":{"name":"jsmegahal","version":"1.1.1","description":"A port of the MegaHal AI to JS","main":"index.js","scripts":{"test":"grunt test","prepublish":"grunt"},"repository":{"type":"git","url":"https://github.com/seiyria/jsmegahal.git"},"keywords":["ai","megahal","markov","chat","chatbot"],"author":{"name":"Kyle Kemp","email":"kyle@seiyria.com","url":"http://seiyria.com/"},"license":"Apache 2","bugs":{"url":"https://github.com/seiyria/jsmegahal/issues"},"devDependencies":{"chai":"~1.8.1","grunt-contrib-coffee":"~0.8.2","mocha":"~1.17.0","grunt-contrib-watch":"~0.5.3","grunt-contrib-uglify":"~0.3.1","grunt-mocha-test":"~0.8.2","grunt":"~0.4.2"},"_id":"jsmegahal@1.1.1","dist":{"shasum":"0eda25093b57e6b94fe8b9b966d3fe513b996b92","tarball":"https://registry.npmjs.org/jsmegahal/-/jsmegahal-1.1.1.tgz","integrity":"sha512-nZSelXC44kSbsCWgMBW6/II9dRDIMp25PqpxZ59JqemgwFXxTyJENMZlNsy0kJIKd/Slu7IJpgAV/CDN9DwEDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF1MPlIh92XRYEM4vfRhp0XOFnvm+yrhPThfmWlPWWapAiAUOsA8FReJ9FPq5u7jKsNQ0mx4Ya8Jb/YKwGMqrenZsg=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"seiyria","email":"kyle@seiyria.com"},"maintainers":[{"name":"seiyria","email":"kyle@seiyria.com"}],"directories":{}},"1.2.0":{"name":"jsmegahal","version":"1.2.0","description":"A port of the MegaHal AI to JS","main":"index.js","scripts":{"test":"grunt test","prepublish":"grunt"},"repository":{"type":"git","url":"https://github.com/seiyria/jsmegahal.git"},"keywords":["ai","megahal","markov","chat","chatbot"],"author":{"name":"Kyle Kemp","email":"kyle@seiyria.com","url":"http://seiyria.com/"},"license":"Apache 2","bugs":{"url":"https://github.com/seiyria/jsmegahal/issues"},"devDependencies":{"chai":"~1.8.1","grunt-contrib-coffee":"~0.8.2","mocha":"~1.17.0","grunt-contrib-watch":"~0.5.3","grunt-contrib-uglify":"~0.3.1","grunt-mocha-test":"~0.8.2","grunt":"~0.4.2"},"_id":"jsmegahal@1.2.0","dist":{"shasum":"49ff71ed48146fdac6daa3dfa598751a9486e285","tarball":"https://registry.npmjs.org/jsmegahal/-/jsmegahal-1.2.0.tgz","integrity":"sha512-hrb2gzud9d5qcQufQZuPfnY/ZV2QSGeZ7r450I0CLanx2/sgEdwl2FiffqYaw8BMk4m5D09ATRN6iz8X0/Tq+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5lo9tRMSRfwMyLyDSSm8mWPTA9QMKCc9lTATTBkrcegIhAMQy8OwTWRuOzlkD5dAX/evnKo1VXfWkI6OIJbD9b0T5"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"seiyria","email":"kyle@seiyria.com"},"maintainers":[{"name":"seiyria","email":"kyle@seiyria.com"}],"directories":{}},"1.2.2":{"name":"jsmegahal","version":"1.2.2","description":"A port of the MegaHal AI to JS","main":"index.js","scripts":{"test":"grunt test","prepublish":"grunt"},"repository":{"type":"git","url":"https://github.com/seiyria/jsmegahal.git"},"keywords":["ai","megahal","markov","chat","chatbot"],"author":{"name":"Kyle Kemp","email":"kyle@seiyria.com","url":"http://seiyria.com/"},"license":"Apache 2","bugs":{"url":"https://github.com/seiyria/jsmegahal/issues"},"devDependencies":{"chai":"~1.8.1","grunt-contrib-coffee":"~0.8.2","mocha":"~1.17.0","grunt-contrib-watch":"~0.5.3","grunt-contrib-uglify":"~0.3.1","grunt-mocha-test":"~0.8.2","grunt":"~0.4.2"},"_id":"jsmegahal@1.2.2","dist":{"shasum":"fa73d300858f5909a88245d050f90b7fbbb363a6","tarball":"https://registry.npmjs.org/jsmegahal/-/jsmegahal-1.2.2.tgz","integrity":"sha512-TF/Oeb7nHWiQIwSEc71iFd5orazq8QLRk3Bz46JFA8ciTv5Ks4giCjUjzQ5CxHgLbpfq1iPRnjjb91flYuXDiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsERbl53FoBE90rvIcPJhSAXbSa7KnzxXMz3VrYAHiSgIgVo+at/o2XZQoWL+X2qv6bXCOZ9cn9aSNex+0I6IXqzg="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"seiyria","email":"kyle@seiyria.com"},"maintainers":[{"name":"seiyria","email":"kyle@seiyria.com"}]},"1.2.3":{"name":"jsmegahal","version":"1.2.3","description":"A port of the MegaHal AI to JS","main":"index.js","scripts":{"test":"grunt test","prepublish":"grunt"},"repository":{"type":"git","url":"https://github.com/seiyria/jsmegahal.git"},"keywords":["ai","megahal","markov","chat","chatbot"],"author":{"name":"Kyle Kemp","email":"kyle@seiyria.com","url":"http://seiyria.com/"},"license":"Apache 2","bugs":{"url":"https://github.com/seiyria/jsmegahal/issues"},"devDependencies":{"chai":"~1.8.1","grunt-contrib-coffee":"~0.8.2","mocha":"~1.17.1","grunt-contrib-watch":"~0.5.3","grunt-contrib-uglify":"~0.3.1","grunt-mocha-test":"~0.8.2","grunt":"~0.4.2","grunt-mocha":"~0.4.10"},"_id":"jsmegahal@1.2.3","dist":{"shasum":"fa50e3ec60411d720fb256a7ce0669c012c1bf00","tarball":"https://registry.npmjs.org/jsmegahal/-/jsmegahal-1.2.3.tgz","integrity":"sha512-NU98FQA2kBJ1umSAjrNwZnE1zv8BAswrhvte8mUQKCjBMoWYaEPRXgaKJt4KxzDvdKBfBn801td6B7SRWn8xrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB3U3ayGvTjnhn8iyR2tNTTqasDG75PVLflP8BFQU9AdAiB0hTkxTbRCuj0gHLM7D/CY1oGUPGxrw/9nz+Kiai1pyQ=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"seiyria","email":"kyle@seiyria.com"},"maintainers":[{"name":"seiyria","email":"kyle@seiyria.com"}]},"1.2.4":{"name":"jsmegahal","version":"1.2.4","description":"A port of the MegaHal AI to JS","main":"index.js","scripts":{"test":"grunt test","prepublish":"grunt"},"repository":{"type":"git","url":"git+https://github.com/seiyria/jsmegahal.git"},"keywords":["ai","megahal","markov","chat","chatbot"],"author":{"name":"Kyle Kemp","email":"kyle@seiyria.com","url":"http://seiyria.com/"},"license":"Apache 2","bugs":{"url":"https://github.com/seiyria/jsmegahal/issues"},"devDependencies":{"chai":"~1.8.1","grunt-contrib-coffee":"~0.8.2","mocha":"~1.17.1","grunt-contrib-watch":"~0.5.3","grunt-contrib-uglify":"~0.3.1","grunt-mocha-test":"~0.8.2","grunt":"~0.4.2","grunt-mocha":"~0.4.10","grunt-cli":"~0.1.13","grunt-coffeelint":"0.0.8"},"gitHead":"3708ab325b0d04314d33bde23dad08d2cf3d4a50","homepage":"https://github.com/seiyria/jsmegahal#readme","_id":"jsmegahal@1.2.4","_shasum":"544aa4054f2b08bfce8f13f6abdb20581ba8b79b","_from":".","_npmVersion":"2.14.1","_nodeVersion":"3.2.0","_npmUser":{"name":"seiyria","email":"kyle@seiyria.com"},"dist":{"shasum":"544aa4054f2b08bfce8f13f6abdb20581ba8b79b","tarball":"https://registry.npmjs.org/jsmegahal/-/jsmegahal-1.2.4.tgz","integrity":"sha512-uiImgj0yZl7xHrpq2G7UZ85K5IJAVaU7p9tuS5wvq8rwardgiNsEGB8e8NZQUoLLQQ8phbr10wyfz9bgyRtbDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF9CxpyvTxr/9lQtXvvRdRmxL+SRfzTZLBSgdupaHF93AiEA6Hj3s7PyFZPnI/K6DVMqXmRuTAYjDsa9rQLSL8HbN9c="}]},"maintainers":[{"name":"seiyria","email":"kyle@seiyria.com"}]}},"readme":"jsmegahal [![Build Status](https://travis-ci.org/seiyria/jsmegahal.png?branch=master)](https://travis-ci.org/seiyria/jsmegahal)\n=========\n\nImplementation of the MegaHAL AI in JS for consumption with node.js\n\nInstallation\n============\n```\nnpm install jsmegahal\n```\n\nSample Usage\n============\n```js\njsmegahal = require('jsmegahal');\n\n//you can pass in the markov order you want to use. it defaults to 4.\nvar megahal = new jsmegahal(4);\n\n//add a single sentence\nmegahal.add(\"This is a singular sentence and megahal will deconstruct it accordingly.\");\n\n//add a lot of data\nmegahal.addMass(\"This is a lot of data. Also, it is in multiple sentences!\");\n\n//get a string based on the markov data -- this picks a random token in the sentence\nconsole.log(megahal.getReplyFromSentence(\"Pick a keyword\"));\n\n//get a string based on the markob data -- this can take a token, or nothing at all\nconsole.log(megahal.getReply());\n```\n\nProjects Using This\n===================\n[alexa-chatterbot](https://github.com/moof2k/alexa-chatterbot)\n","maintainers":[{"name":"seiyria","email":"kyle@seiyria.com"}],"time":{"modified":"2022-06-19T06:08:01.151Z","created":"2014-01-22T03:14:38.123Z","1.0.0":"2014-01-22T03:14:39.132Z","1.0.1":"2014-01-22T03:20:47.766Z","1.0.2":"2014-01-22T03:28:15.764Z","1.0.3":"2014-01-22T03:42:15.015Z","1.1.0":"2014-01-22T06:44:44.213Z","1.1.1":"2014-01-23T03:02:21.654Z","1.2.0":"2014-01-23T06:49:46.008Z","1.2.1":"2014-01-23T22:43:24.992Z","1.2.2":"2014-01-23T22:47:18.731Z","1.2.3":"2014-01-25T18:40:29.152Z","1.2.4":"2015-11-27T17:56:34.667Z"},"readmeFilename":"README.md","author":{"name":"Kyle Kemp","email":"kyle@seiyria.com","url":"http://seiyria.com/"},"repository":{"type":"git","url":"git+https://github.com/seiyria/jsmegahal.git"},"homepage":"https://github.com/seiyria/jsmegahal#readme","keywords":["ai","megahal","markov","chat","chatbot"],"bugs":{"url":"https://github.com/seiyria/jsmegahal/issues"},"license":"Apache 2","users":{"jkirchartz":true}}