Code Monkey home page Code Monkey logo

apertium-global-pairviewer's Introduction

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/

apertium-global-pairviewer's People

Contributors

cpills avatar

Watchers

James Cloos avatar Tai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.