Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why you use different weighting methods in ix.searcher? #7

Open
luofuli opened this issue Sep 6, 2018 · 0 comments
Open

Why you use different weighting methods in ix.searcher? #7

luofuli opened this issue Sep 6, 2018 · 0 comments

Comments

@luofuli
Copy link

luofuli commented Sep 6, 2018

Hello, I am wondering why you adopt two different weighting methods in ix.searcher.
More specifically, when transfering negative (0) sentiment results, you use BM25F (the whoosh.scoring module is default as BM25F).

with ix.searcher() as searcher:

But, when transfering positive (1) sentiment results, you use TFIDF

with ix.searcher(weighting=scoring.TF_IDF()) as searcher:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant