Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: Unexpected token ) /node-rake/index.js:32 #23

Open
atezaz opened this issue Mar 10, 2018 · 3 comments
Open

SyntaxError: Unexpected token ) /node-rake/index.js:32 #23

atezaz opened this issue Mar 10, 2018 · 3 comments

Comments

@atezaz
Copy link

atezaz commented Mar 10, 2018

SyntaxError: Unexpected token ) /node-rake/index.js:32

@dundas
Copy link

dundas commented Mar 21, 2018

Yes I am having the same issue. Were you able to get it to work?

@waseem18
Copy link
Owner

Sorry for the delay folks - Will take some time today to fix it and make a new release. Duplicate : #22

@waseem18
Copy link
Owner

@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' ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants