]> gitweb.fperrin.net Git - Dictionary.git/commit
Fix multiword search with incomplete words.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 21 Oct 2018 17:55:51 +0000 (19:55 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 21 Oct 2018 17:55:51 +0000 (19:55 +0200)
commitc30780dce1351b55c0e94b05dd8ef327aa31cebd
tree5ceda9b5022827ee61c203d3eb3faa161e4611a4
parent1aa504ce21ffacbc661330fbb5ed3db0e696b6aa
Fix multiword search with incomplete words.

It would trip over if the dictionary contained
words with the same prefix starting with -.
Example is searching for
"sense des aiguilles" which would break the loop
upon encountering "-aige".
Which meant that searching for "sense des aig" would
find nothing. "sense des a" would however due to "a"
not being considered due to the stoplist.
src/com/hughes/android/dictionary/engine/Index.java
src/com/hughes/android/dictionary/engine/NormalizeComparator.java