Sentimental icon indicating copy to clipboard operation
Sentimental copied to clipboard

Training Sentimental

Open arvindr21 opened this issue 10 years ago • 3 comments

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.

arvindr21 avatar Jun 24 '14 15:06 arvindr21

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!

ethel-dev avatar Jul 01 '15 16:07 ethel-dev

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

samcus avatar Dec 05 '16 07:12 samcus

Okay. Thanks @samcus

arvindr21 avatar Dec 05 '16 12:12 arvindr21