Open dpriskorn opened 4 months ago
Here is the line that handle the query input: https://github.com/fnielsen/ordia/blob/a5286625499ab464de08973128dd6cc66c6e1b05/ordia/app/views.py#L420
There are some lexemes with a fullstop, e.g., "e.g." and "dvs." https://ordia.toolforge.org/L588622
There is even comma https://ordia.toolforge.org/L408858
When searching for: "Vägen till helvetet är kantad med goda föresatser." I get no result, but "Vägen till helvetet är kantad med goda föresatser" -> https://ordia.toolforge.org/L1327610
We should strip punctuation in the end of the input before doing the lookup