User:Mparker3/Final project

From LING073
< User:Mparker3
Revision as of 13:57, 2 June 2018 by Mparker3 (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Repository

Evaluation

Given the verb "hablar", the SPA successfully generates the correct conjugations for each person of the form specified in the file "Spanish.js".

Media:HablarParadigms.jpeg

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.

Poster

Poster presented for final