Hello Mikel,

Thanks for the review comments.

I have already created a wiki page specially for the discussion about the
project and share it on the mailing list and the IRC, the Francis and the
Unhammer also share their comments.

http://wiki.apertium.org/wiki/User:Ergaurav3/Discussion_Gsoc_Unify_Metadix

I am about to complete my proposal part with taking consideration all these
points and will share it with you soon for the review.

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

IRC #ergaurav2


On Wed, Mar 19, 2014 at 3:22 PM, Mikel Forcada <[email protected]> wrote:

>  Hi Gaurav,
> please write to the list. In this way, other people may be able to help.
>
> Basic Understanding of the project:
>
> *Problem with Current Scenario:*
>
>
> 1. The xslt and other pre-processing needs to applied manually on the meta
> dictionary files before we actually compile the dictionary files.
>
>  Yes.
>
>   2. The xslt files varies from language pair to pair.
>
> There are a few varieties, I think two. It would be good to clearly
> identify them in the proposal.
>
>    Expected:
>
>
> 1. There should be common xslts and pre processing for all the types of
> the meta dictionary files (we currently have two types.). Target: The
> buscPar.xsl and the principal.xsl should be common.
>
> This is one possible solution.
>
>    2. The lttoolbox should be updated so we don't need to do the
> pre-processing when we are treating the pair that contains the meta
> dictionary files.
>
> Not necessarily. This would be the nicest possible way to end the project,
> but I don't know lttoolbox inside out to be able to help in detail. But we
> could ask Sergio Ortiz (main programmer). Perhaps you could study the code
> and make a stronger proposal.
>
>    *Approach 1*
>
> Modifying the xslt's file to make them common.
>
> Yes. Perhaps with parameters. But another way would be to make all metadix
> formats compatible among them by changing them slightly, and providing
> tools to do this automatically, followed by regression testing to show that
> nothing has changed.
>
>     The makefile should be updated according so the dictionary file is
> generated with a similar name it's for the other pairs (non-meta
> dictionary). So, we have everything similar after the installation is done.
>
> There should be some kind of common build procedure yes.
>
>    *Approach 2*
>
> Modifying the xslt's file to make them common.
>
> In, lttoolbox we should update the lt-comp and allows it to compile the
> metadictionary files along with the dictionary files and when we will have
> the case of metadictionary files, we will perform the pre-processing and
> then the basic compilation of the dictionary file. But doesn't mean the
> pre-processing always at the time of compliation ? We may compile only when
> there is need to compile (the pre-processing is not already done.)
>
> I am not sure I understand. First solve the preprocessing part to the
> format understood by lt-comp. This is already a challenge if metadix
> formats are not compatible. Later on, you may go into lttoolbox. Present
> this two sequentially.
>
> It is not a bad idea to write this up and share the link in the list for
> mentors to give comments.
>
>   Please share your comments.
>
> Just did.
>
> I have other messages. I'll go through them in a minute.
>
> Mikel
>
>
>
>
> Thanks and Regards,
> *Gaurav Agrawal*
> M.Tech CSE
> IIIT, Hyderabad
>
> IRC #ergaurav2
>
>
>   On Mon, Mar 17, 2014 at 1:59 PM, Gaurav Agrawal <[email protected]>wrote:
>
>>  Hello JImmy,
>>
>>  Sorry for missing this case, I will treat it and update the file on the
>> github and inform you.
>>
>>  Can you please also share the comments on my understanding about the
>> project ?
>>
>> http://wiki.apertium.org/wiki/User:Ergaurav3/Discussion_Gsoc_Unify_Metadix
>>
>>
>>
>> Thanks and Regards,
>> *Gaurav Agrawal*
>> M.Tech CSE
>> IIIT, Hyderabad
>>
>> IRC #ergaurav2
>>
>>
>>   On Mon, Mar 17, 2014 at 4:26 AM, Jim O'Regan <[email protected]> wrote:
>>
>>> On 15 March 2014 17:15, Gaurav Agrawal <[email protected]> wrote:
>>> > Hello Mikel/Jimmy,
>>> >
>>> > I have completed the coding challenge for the project Unify the Metadix
>>> > Format.
>>> >
>>> > I have put it on the github at link mentioned below : (with the
>>> details in
>>> > the readme.txt)
>>> >
>>> > https://github.com/ergaurav2/apertium-unify-metadix-coding-challenge
>>> >
>>> > Please review the same and guide me further.
>>> >
>>>
>>>  The template matching 'i' elements is not calling further matches
>>> (IOW, it's not outputting <s> from <i>):
>>>
>>> $ cat test.xml
>>> <dictionary>
>>> <alphabet>asdas</alphabet>
>>> <sdefs>
>>>   <sdef n="foo"/>
>>> </sdefs>
>>> <section id="main" type="standard">
>>>   <e><i>foo<s n="foo"/></i></e>
>>>   <e><p><l>foo<s n="foo"/></l><r>bar<s n="foo"/></r></p></e>
>>> </section>
>>> </dictionary>
>>>
>>> $ xsltproc convert.xsl test.xml
>>> (foo:foo)
>>> (foo<foo>:bar<foo>)
>>>
>>> --
>>> <Sefam> Are any of the mentors around?
>>> <jimregan> yes, they're the ones trolling you
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>  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
>>>
>>
>>
>
>
>
> --
> 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