Skip to content
master
Switch branches/tags
Code
This branch is 194 commits ahead of cpills/Apertium-Global-PairViewer:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Ling073-Final

Welcome to the repo for my 3D Apertium Pairviewer! This project was made as a final for my Computation Linguistics class. The page is a simple way of visualizing the language pairs currently in Apertium (and also the language pairs worked on for the class).

To Run:

Simply clone the repository. To run locally, I use a PythonHTTPServer:

python -m SimpleHTTPServer 8888 &

Then, you can direct your browser to http://localhost:8888/ to view.

To add or modify point data, change the apertiumPairs.json file.

Files:

  • apertium-languages.tsv -- This file contains the coordinates of certain languages in Apertium.

  • apertiumPairs.json -- Contains all of the pair data and point data used

  • index.html -- HTML and CSS

  • languages.json -- Contains mappings from ISO language codes to full language names

  • ling073Pairs.json -- Contains the data for only the pairs created in-class

  • pairs.json.txt -- Contains the information used by the Apertium pairviewer

  • pairviewer.js -- Body of the page

  • places.json -- Example data that I used when starting out

  • trimpairs.py -- Short Python script that scrapes the pairs.json.txt and the apertium-languages.tsv file. Creates a trimmed set of the Apertium data (only the language pairs that have coordinates in the tsv file). Writes the information to the apertiumPairs.json file

  • world-110m.json -- Country data used for generating the globe

More:

To learn more about the project, you can look at the wiki page https://wikis.swarthmore.edu/ling073/User:Cpillsb1/Final_project

To learn more about Apertium, visit the Apertium website https://www.apertium.org/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published