wordpos
wordpos copied to clipboard
lookup, Cannot read property 'toLowerCase' of undefined
I get this error when using cli with following command:
wordpos get over
Not sure if it's an issue progmatically aswell
I can reproduce:
$ wordpos get over
return word.toLowerCase().replace(/\s+/g, '_');
"over" is a stop-word and that's causing the error. Try wordpos -w get over to not strip stopwords for now.
Ah that makes sense and yes that works for me thanks