allenai / deep_qa

A deep NLP library, based on Keras / tf, focused on question answering (but useful for other NLP too)
Apache License 2.0
404 stars 133 forks source link

Boosted query #177

Closed BeckySharp closed 7 years ago

BeckySharp commented 7 years ago

added the question and answer boosted option for querying. not sure if formatting/commenting is in line with what you want - please let me know what you'd like me to fix

BeckySharp commented 7 years ago

I dont' know if you see this comment -- the only one I didn't fix was the 1f to 1.0 because 1.0 is Double and I need it to be a float for elasticSearch, so I changed it to 1.0f if that's ok?