Create graphs of available pairs with graphviz for stable, Romance language and North Germanic language pairs

completed by: Daniel Huang

mentors: Youssef Oualmakran

Create graphs of available pairs with graphviz for  stable, Romance language and North Germanic language pairs

Create graphs with graphviz and generate PNG for
a/ the Romance languages ;
b/ the North Germanic languages and
c/ the stable pairs (currently 33 pairs) [1][2][3].


Examples of code

//Save this file under romance.dot
    graph romance {
            es -- fr
            fr -- pt
            pt -- es
            ca -- es
            }

This example code create four edges (ie four pairs): es-fr, fr-pt, pt-es, ca-es.

Graph generation

In a terminal launch this command:
    dot romance.dot -Tpng -o romance.png


More information about Graphvis is available at [4][5]

Required knowledge

* Be familiar with codes used for languages (eg. en for English and pt for Portugish)
* (Strongly advised) Have Linux installed (using Virtualbox is OK)
* Be able to install software
* Be able to launch commands in shell/terminal
* Be able to use a text editor

Requirements

* Send the three files with the graphviz source code of the requested graphs
* Send the three files with PNG images of the requested graphs

You are strongly advised to come on our IRC (irc.freenode.net #Apertium) chat to discuss with mentors and developpers. If you do not know how to use IRC, you can use your web navigator preferably with http://webchat.freenode.net (put #apertium in the channels fields) or http://xixona.dlsi.ua.es/cgi-bin/cgiirc/irc.cgi (if you cannot use the first link).

Usefull links

[1] http://wiki.apertium.org/wiki/Romance_languages
[2] http://wiki.apertium.org/wiki/North_Germanic_languages
[3] http://wiki.apertium.org/wiki/Main_Page
[4] http://www.orient-lodge.com/node/3408
[5] http://www.graphviz.org/Documentation.php