lexico icon indicating copy to clipboard operation
lexico copied to clipboard

Message has to be displayed for words which aren't there in the database.

Open KeerthanBhat opened this issue 7 years ago • 3 comments

When words which doesn't exist are tried to add, errors in the code is being displayed instead of a suitable message stating that the word doesn't exist. So appropriate code has to be written for that.

lexico1

KeerthanBhat avatar Dec 03 '17 06:12 KeerthanBhat

Definitely!

We should search for the meaning of the word in other dictionaries. As a fallback, the application should handle the situation. A try-except block would be the ideal candidate in the main handler.

kshitij10496 avatar Dec 03 '17 13:12 kshitij10496

We can also show related words for a wrong search. Like if someone search "mae" , then it should say Suggest "Are you looking for may , man "etc....

manishtiwari98 avatar Dec 04 '17 09:12 manishtiwari98

We can also show related words for a wrong search. Like if someone search "mae" , then it should say Suggest "Are you looking for may , man "etc....

This would be an excellent addition to the application. In order to implement this, we will have to find an API endpoint (either in the Wordnik API or an open API) which can suggest us related words corrected for spelling mistakes.

kshitij10496 avatar Dec 04 '17 10:12 kshitij10496