node-rake
node-rake copied to clipboard
SyntaxError: Unexpected token ) /node-rake/index.js:32
SyntaxError: Unexpected token ) /node-rake/index.js:32
Yes I am having the same issue. Were you able to get it to work?
Sorry for the delay folks - Will take some time today to fix it and make a new release. Duplicate : #22
@atezaz @dundas Can you please give me more information as in how you were using node-rake
so that I can replicate the issue?!
However I've pushed a new build with the version 1.0.1
after merging #18 .
Here's a sample program I checked node-rake
with :
const rake = require('node-rake') const myStopwords = ['for', 'the', 'a', 'stands', 'test', 'man', 'woman']; const opts = {stopwords: myStopwords}; const keywords = rake.generate("LDA stands for Latent Dirichlet Allocation", opts); console.log(keywords)
Result: [ 'Latent Dirichlet Allocation', 'LDA' ]