diff --git a/jspp.js b/jspp.js index 05ff453..7e9902d 100644 --- a/jspp.js +++ b/jspp.js @@ -10,7 +10,7 @@ class JSPlusPlus { return new Promise(resolve => setTimeout(resolve, ms)); } - function isToxic(sentences) { + isToxic(sentences) { let pp = new JSPlusPlus // Load the model. Users optionally pass in a threshold and an array of // labels to include.