Skip to content

Error : py handle fails. <class 'ValueError'> #3

Description

@nandinicbit1981

try {
nlp.parse('Bob Brought the pizza to Alice.').then(function(output) {
console.log(output);
// console.log(JSON.stringify(output[0].parse_tree, null, 2));
// res.send(JSON.stringify(output[0].parse_tree, null, 2));

    });
}catch (e) {
    console.log("error");
    console.log(e);
}

output is null.
Please let me know. I followed the tutorial and was able to start the server just fine.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions