Open theobayard opened 3 years ago
Yikes -- no, we should delete that. Our default regular expression should be written to be >2 for length I think.
src/core/LDAModel.ts, lines 406-408
Proper fix is probably to ensure default regular expression supports 3+ characters
With the implementation of custom regex does this makes sense?
Specifically, in LDAModel the following code appears:
if (word.length <= 2) { this.stopwords[word] = 1; }