Problem with raw objects in the Bayes library

5 views
Skip to first unread message

Ean Schuessler

unread,
May 22, 2017, 9:21:32 PM5/22/17
to FilterBubbler Dev
I just fixed an entertaining problem with the bayes library and now am pulling in a fork.

Check it out:

Since they were using a raw object you couldn't index a document that contained the word "constructor" since it was already a field.

ie. this.wordFrequencyCount['Political']['constructor'] == function()....

I'll file a merge request with the Bayes library. Value add for community!

--
Ean Schuessler, Brainfood Co-Founder
Reply all
Reply to author
Forward
0 new messages