User:Mparker3/Final project
Apertium Paradigm Generator
Given a verb (Spanish for now, but extensible for any language), queries the Apertium API to fetch conjugations in different paradigms for said verb.
Product running on GitHub Pages
Evaluation
Given the verb "hablar", the SPA successfully generates the correct conjugations for each person of the form specified in the file "Spanish.js".
To successfully make this project open-source extensible, I have separated out all language-specific variables into a file Spanish.js
.
Modifying this project to function in another language begins with modifying Spanish.js
so that the proper verb forms are generated, and then using regular expressions, or more realistically, IDE refactoring tools, to replace all instances of "SPANISH" in App.js
.
Issues
Badly in need of some CSS.
There is a nasty race condition related to asynchronous API calls that I'm still in the process of solving that occasionally leads to flipping of which conjugated verbs are under which header. The solution for this will probably be to move the API calls into the Paradigm.js
component.