Difference between revisions of "User:Mparker3/Final project"

From LING073
Jump to: navigation, search
 
Line 25: Line 25:
  
 
[https://wikis.swarthmore.edu/ling073/images/4/42/Ling073PosterFinal.pdf Poster presented for final]
 
[https://wikis.swarthmore.edu/ling073/images/4/42/Ling073PosterFinal.pdf Poster presented for final]
 +
 +
 +
[[Category:Sp18_FinalProjects]]

Latest revision as of 17:57, 2 June 2018

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