array.slice arguments error
joewashear007 opened this issue · 4 comments
I have found a issues with your code that I am unsure how to fix. You are supplying too many argument to the slice function in lib/classify/index.js
on line 203
. According to MDN, the slice function should only have 2 arguments, not 3.
owner = words.slice(prepIndex + 1, -1, detIndex).join(" ");
Thanks!
Ack! The perils of viewing my own code from years ago. I'll dig into this.
Thanks. Also nice work by the way!
Joseph Livecchi
jjprograms.com
On Mon, Nov 23, 2015 at 12:18 PM, Nathan Hunzaker notifications@github.com
wrote:
Ack! The perils of viewing my own code from years ago. I'll dig into this.
—
Reply to this email directly or view it on GitHub
#8 (comment).
ey, still having the problem... any progress??
Sorry... sent out a new release. Check out speakeasy-nlp@0.2.12