<reponame>Pranav2612000/string_randomness_score_generator<filename>modelConsumer/test.js<gh_stars>0const Model = require('./Model');
const main = () => {
    console.log('Running');
    Model.loadModel();

    const inputs = [
        "HelloWorldThisIsALongStringAlthoughItShoudln'tbeclassifedasecretalthoithsspelngmistakes",
        "caf86f4uutaoxfysmf7anj01xl6sv3ps",
        "authorizationToken",
        "12345",
        "qwertyuiop",
        "qazwsxedcrfvtgbyhn",
        "key-Axkljh408834j7",
        "Key-^jkfah^_(_()_)(*)"
    ];
    const outputs = inputs.map(x => ({ word: x, score: Model.score(x)}));
    console.log(outputs);
}

main();
