TheDataLeek / Eris-Cogs

Cogs for Red Discord Bot
Other
9 stars 13 forks source link

Out of Context should match multiple words #30

Open TheDataLeek opened 4 years ago

TheDataLeek commented 4 years ago

...and then pick whichever ooc has the most matches (normalized for length?)

TheDataLeek commented 4 years ago

This get_quote func here needs to be adjusted https://github.com/TheDataLeek/Eris-Cogs/blob/master/out_of_context/outofcontext.py#L85

Along with the generate_quote_hash func found here https://github.com/TheDataLeek/Eris-Cogs/blob/master/out_of_context/outofcontext.py#L40

tthune commented 4 years ago

@TheDataLeek We should discuss some strategies on this one. I'm not sure I have a good plan for how to best do this