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

Training Sentimental #10

Open
arvindr21 opened this issue Jun 24, 2014 · 3 comments
Open

Training Sentimental #10

arvindr21 opened this issue Jun 24, 2014 · 3 comments

Comments

@arvindr21
Copy link

Hello @thinkroth

Awesome module. Have been experimenting with it for a couple of days now and love it.
Have a few questions

  1. Can I train Sentimental and add new words and score?
  2. Can I override existing word score in Sentimental?
  3. Can you point me to any resource which explains more about comparative value.

Thanks.

@ethel-dev
Copy link

I think I can help, @arvindr21.

Firstly, you can "train" Sentimental, just edit the JSON file in master/wordLists as you like.

Secondly, you can override existing word score in the same way. Just edit the same JSON file.

As far as comparative value, looking over the source (which I know very well, I wrote a browser-compatible port) it is just the score divided by the length of the string you pass to Sentimental.

Hopefully this information is helpful!

@samcus
Copy link

samcus commented Dec 5, 2016

@arvindr21 I know this is late, but I submitted a pull request adding this feature. #14
Awaiting feedback from @thinkroth

@arvindr21
Copy link
Author

Okay. Thanks @samcus

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