Difference between revisions of "Pair viewer"
Jump to navigation
Jump to search
(redirect) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
The Apertium '''Pairviewer''' is a HTML5 tool that depicts all Apertium [[list of language pairs|language pairs]] in an interactive graph initially developed sometime before the [[GCI|Google Code-In]] 2013. Its source code can be [https://github.com/apertium/pairviewer found on GitHub] and a demonstration is available [http://ilazki.thinkgeek.co.uk/~firespeaker/pairviewer/apertium.html here]. |
|||
== Setting up Pairviewer locally == |
|||
===Clone the git repository'''=== |
|||
Run <code>git clone https://github.com/apertium/pairviewer.git</code> |
|||
===Set up local server with Python=== |
|||
''First'', make sure that you have Python installed on your system (you can do this by running <code>python -v</code>). Then, if what you have is Python 3, run <code>python3 -m http.server</code> Otherwise (i.e. you have Python 2), run <code>python -m SimpleHTTPServer</code>. |
|||
===Open on browser=== |
|||
Now all that's left to do is try out Pairviewer yourself! Open your localhost address (can be copy-pasted from the terminal output of previous step) on a browser. And now you're all set! |
|||
⚫ | |||
== How Pairviewer works == |
|||
== Known bugs == |
|||
There are a few apparent bugs that should be fixed before the pair viewer goes public. |
|||
* in initial view (sometimes?), quz has no line connecting it to spa |
|||
* sometimes two- and three-letter codes don't seem to merge |
|||
** when just trunk and staging are selected, tur/tr and nob/nb are each separate from one another |
|||
** when trunk, staging, and nursery are selected, nob/nb are merged, but tur/tr are separate |
|||
* when all possible pairs are viewed (including ones with missing stems, etc.), pa doesn't have a line connecting it to ur |
|||
[[Category:Documentation]] |
|||
[[Category:Documentation in English]] |
Latest revision as of 05:21, 8 December 2018
Redirect to: