chaimldeprecated

A machine learning library to generate Shakespeare-esque text.

Usage no npm install needed!

<script type="module">
  import chaiml from 'https://cdn.skypack.dev/chaiml';
</script>

README

chaiML

chaiML is a machine learning library that generates Shakespeare-esque text based on the content of all of Shakespeare's plays. This program is still not complete, as the training still has to be optimised.

Installation

npm i chaiml

Usage

const chaiML = require('chaiml');

chaiML("To be, or not to be:", (err, result) => {
  if (err) {
    // error handling
  } else {
    // profit!
  }
});