SpellHex Syllables Dictionary
This project is a text-based application developed in Ruby, The aim was to create a different way to look up English words.
The idea centres on breaking words into their vowel sounds and syllable counts, allowing users to filter words using these criteria. It also serves as a helpful spelling aid.
As it’s still in Beta, the Syllables Dictionary currently covers a limited set of words. To expand its functionality, an online dictionary was integrated using the free API from dictionaryapi.dev, with results displayed in the same styled format as the Syllables Dictionary.
Because we don’t have control over the word database provided by the API, a JSON file was implemented to manage and restrict searchable words, as an extra option.
AI was utilized to populate the database. This process involved inputting vowel sounds and categories, prompting the AI to identify the most common words associated with each. It was a creative way to jumpstart data collection.
The Syllables Dictionary organizes words as follows:
- Short Vowels: a, e, i, o, u
- Long Vowels: ae, ee, ie, oe, ue (oo), ar, air, er, or, oi, ou
- Syllable Counts: 1, 2, 3, 4+
- Categories (by subject): Common (Everyday Language), Nature, Technology, Science, Arts, Literature, History, Geography, Mathematics
Overall, this has been a fun and educational project, blending programming, user experience, and even AI for innovative results.
The latest code can be found here on GitHub: SaharaHex/SpellHex-Syllables
