Simple Dictionary is a NextJS-based dictionary app that provides users with a fast search algorithm to access definitions. It uses Free Dictionary API
and the Wiktionary API
to get the corresponding etymologies, pronunciation, synonyms, antonyms, and examples of the word. It is made for High Seas 2024-2025
by Hack Club
. With over 20 hours of coding time.
The autocomplete feature uses three text files:
Each file is processed to remove duplicates and capitalised letters
The autocomplete algorithm employs a trie data structure to efficiently store and retrieve words based on their prefixes. A separate trie is built for each text file. Additionally, a Levenshtein distance algorithm (MIT license
) is applied to improve search results by accommodating minor typographical errors or variations in user input.
The external link icon is made by css.gg licensed under MIT
The dropdown arrow icon is made by react-icons/RemixIcons
licensed under MIT
/Apache License 2.0
respectively.
This application is provided "as is," without any express or implied warranties. While we strive for accuracy and reliability, we cannot guarantee the completeness or correctness of the information. We do not endorse any views expressed by the external sources that provide information. Use this application at your own discretion, and we disclaim liability for any damages arising from its use. Your sole remedy for dissatisfaction with the application is to discontinue its use.
This project is licensed under the MIT License - refer to the LICENSE.txt file for details.
This application does not collect any personal data. Your search inputs are utilized solely to retrieve word definitions from third-party APIs, specifically dictionaryapi.dev and the Wiktionary API
;
Please be aware that search inputs may be logged for debugging purposes. These logs are stored on Vercel servers and are not shared with any external parties. Vercel stores these logs for a maximum of one hour. To ensure your safety, we advise against submitting any personal or sensitive information through the search function.
By accessing or using this application, you agree to comply with the following terms and conditions:
We reserve the right to terminate or limit your access to the application at any time if you violate these terms. We may also modify or discontinue the application without notice.
If you have any questions or concerns about these terms, please open an issue on our GitHub repository.