rick / spelling-bee

tooling for studying for a spelling bee

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spelling-bee training tools

This will probably just generate Anki cards with pronunciations and definitions on the front, with the spelled word on the back.

rough TODO

  • find a way to get pronunciations
  • find an API for word definition lookups
  • look up word definitions
  • find a ruby lib to generate anki cards (https://github.com/rkachowski/anki-rb)
  • upgrade dictionary API key to use the highest level dictionary available from MW (currently too low level for all words)
  • roll a ruby script that automates populating data and cards
    • sketch script
    • add .env support for MW API key
    • bring in rubocop
    • make initial test suite at least be a rubocop run
    • for each word pull definitions, handle errors properly (i.e., detect them, also make an exceptions log); be idempotent
      • also, probably use "shortdef" fields in JSON results, as these are cleaner
    • ... pull pronunciations (similarly, with the error handling), also be idempotent
    • generate Anki cards with audio file linkage, definitions (front) and correct spelling (back)
    • handle alternate spellings (probably an alternates hash in a JSON doc or something; add alternates to card backs

About

tooling for studying for a spelling bee

License:MIT License


Languages

Language:Ruby 61.4%Language:Shell 38.6%