lexico
lexico copied to clipboard
Message has to be displayed for words which aren't there in the database.
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.
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.
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....
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.