Hi Gaurav:


I have completed the coding challenge for the project "Plain-text formats for Apertium data".

I have put it on the github at link mentioned below : (with the details in the readme.txt)

https://github.com/ergaurav2/apertium-plain-text-format-coding-challenge.git

Please review the same and guide me so I can work on the proposal.

 * I told you we were not interested in generating modes from
   modes.xml, as this is already in Apertium (see below), but it seems
   to work. Your program outputs lots of diagnostics. This should all
   go to standard error, or only be activated if a --verbose switch is
   given.
 * The modes to modes.xml seems to work well. The XML is not indented,
   but this could be done later with xmllint, so, no problem.
 * I checked roundtrip conversion (xml to modes and back) and it seems
   to work OK.

Guidance:

 * It is time to study the XML format of dictionaries and structural
   transfers in Apertium and think of a possible text equivalent that
   you can convert to and from. The coding challenge for another task:
   
http://wiki.apertium.org/wiki/Ideas_for_Google_Summer_of_Code/Unify_the_metadix_formats
   may be relevant for dictionaries.
 * Be sure to ask concrete questions in apertium-stuff so that other
   mentors can help if I am not available.
 * Start drafting your proposal as soon as possible.

Cheers

Mikel



Thanks and Regards,
*Gaurav Agrawal*
M.Tech CSE
IIIT, Hyderabad

IRC #ergaurav2


On Wed, Mar 12, 2014 at 2:25 PM, Mikel L. Forcada <[email protected] <mailto:[email protected]>> wrote:

    El 11/03/14 15:09, Gaurav Agrawal ha escrit:
    > Hello Mikel,
    >
    > I am working on the coding challenge for the project: Plain-text
    > formats for Apertium data.
    >
    > I have the following points related to that:
    >
    > 1. While converting the *.mode file into the the modes.xml, the
    order
    > of the tags <mode>.....</mode> will not be similar to the current
    > modes.xml as the *.mode doesn't have any particular order.
    That's no problem.
    >
    > 2. I am using Java language to write my code.
    >
    That does not seem to be a problem either.
    > 3. For the proper conversion of the *.modes file I have taken the
    > following assumption:
    >
    > a) The Parser that will be created will take the path of the
    language
    > folder like: apertium-en-ca
    >
    OK for the coding challenge.
    > b) The *.modes files are present in the folder named modes as
    > {language pair folder}/modes e.g. apertium-en-ca/modes
    They usually are.
    >
    > c) The modes.xml is present directly in the language pair folder as
    > {language pair folder}/modes.xml e.g. apertium-en-ca/modes.xml
    It usually is.
    >
    >
    > 4. Addition:
    >
    > As a addition to coding challenge, I am also interested to do the
    > reverse part:
    > Converting the modes.xml file into the *.mode file.
    >
    The code is already there in Apertium as the *.mode files are created
    from the modes.xml file when "make" is invoked. Check it out!

    Mikel

    --
      Mikel L. Forcada (http://www.dlsi.ua.es/~mlf/
    <http://www.dlsi.ua.es/%7Emlf/>)
    Departament de Llenguatges i Sistemes InformĂ tics
    Universitat d'Alacant
    E-03071 Alacant, Spain
    Phone: +34 96 590 9776
    Fax: +34 96 590 9326


    
------------------------------------------------------------------------------
    Learn Graph Databases - Download FREE O'Reilly Book
    "Graph Databases" is the definitive new guide to graph databases
    and their
    applications. Written by three acclaimed leaders in the field,
    this first edition is now available. Download your free book today!
    http://p.sf.net/sfu/13534_NeoTech
    _______________________________________________
    Apertium-stuff mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/apertium-stuff




--
Mikel L. Forcada (http://www.dlsi.ua.es/~mlf/)
Departament de Llenguatges i Sistemes InformĂ tics
Universitat d'Alacant
E-03071 Alacant, Spain
Phone: +34 96 590 9776
Fax: +34 96 590 9326

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to