Hello Mikel,
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.
2. The xslt files varies from language pair to pair.
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.
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.
*Approach 1*
Modifying the xslt's file to make them common.
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.
*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.)
Please share your comments.
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
>>
>
>
------------------------------------------------------------------------------
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