Dorian Brown

Results 34 comments of Dorian Brown

That seemed to fix it! The virtual desktop is working for me again

Of course as soon as you post an issue, you figure out the solution. Following some suggestions in [this thread](https://github.com/tensorflow/tensorflow/issues/57934), adding this to `android/app/build.gradle` ended up solving it: ``` dependencies...

I think I finally found where this motivation came from, namely this section from [here](http://ethen8181.github.io/machine-learning/search/bm25_intro.html): --- Please note that the IDF formula listed above has a drawback when using it...

I wonder if it might be more simple to just go with the "smoothed" IDF function `IDF(qi)=log(1+N−N(qi)+0.5N(qi)+0.5)`, which ensures that IDFs are always positive. That way we don't have to...

Why do you want to initialize with an empty corpus? An error seems like a good thing to do here in my opinion, but I'm curious to hear about your...

In this case I think it might be best for me to implement a custom exception (ie `EmptyCorpusError`), and then it would be easier to catch with a `try/except`. Then...

If you want, you take a look at this PR with the change: https://github.com/dorianbrown/rank_bm25/pull/45 It's pretty small, but probably a good to have an extra pair of eyes take a...

I do like the idea for this change, but am a little worried about making backward-incompatible changes considering how many people seem to be using the package. I'd like to...

The problem is its BM25 Okapi, and not BM250 kapi. If you use an `O` instead of a `0`, it should work.

I just created a fresh environment, installed `rank_bm25` from pip, and ran `from rank_bm25 import BM25Okapi` without any issues. Could you describe the steps you took (ie make a minimum...