pocketbook-coolreader icon indicating copy to clipboard operation
pocketbook-coolreader copied to clipboard

Dictionary - Suffixes improvement

Open bormachine opened this issue 9 years ago • 3 comments

When using text selection with dictionary, if word is not matched in dictionary- auto-remove suffixes until match is found. Mostly encountered issues with: -s, -ly, -ing, -ed, but also -ment, -ness and other.

Some dictionaries will refer to the original word without the suffix. Clicking on the word within the dictionary window/area will also be good. This is already in #76

bormachine avatar Oct 24 '16 12:10 bormachine

This could be done but it should be implemented in the dictionary. It wouldn't be the best thing to hard code this stuff since it's valid only for english.

blchinezu avatar Oct 25 '16 14:10 blchinezu

Yes, I really hope this can be made, it would be a great help when using the dictionary.

spcmd avatar Feb 17 '17 18:02 spcmd

At InkPad 3, FW5, if i change row 3815, in cr3pocketbook.cpp, _translateResult = LookupWordExact((char *)what.c_str(), &word, &translation); with _translateResult = LookupWord((char *)what.c_str(), &word, &translation);

dictionary work as expected. Maybe LookupWordExact return something not 0? How can I enable trace log?

baltov avatar Apr 15 '18 15:04 baltov