Missatge de Xavi Ivars del dia dv., 13 de set. 2019
a les 8:46:
> El dv., 13 de set. 2019, 12:28, Tino Didriksen
> va escriure:
>
>> [...]
>>
>> I think only -por-cat uses both metalrx and metalrx-to-lrx, so if you
>> want to merge their functionality it should be harmless enough.
>>
>
> fra-cat
Forget about it, that one has always been python3. I just got confused with
the genv*dix scripts
El dv., 13 de set. 2019, 12:45, Xavi Ivars va
escriure:
> El dv., 13 de set. 2019, 12:28, Tino Didriksen
> va escriure:
>
>> [...]
>>
>> I think only -por-cat uses both metalrx and metalrx-to-lrx, s
El dv., 13 de set. 2019, 12:28, Tino Didriksen
va escriure:
> [...]
>
> I think only -por-cat uses both metalrx and metalrx-to-lrx, so if you want
> to merge their functionality it should be harmless enough.
>
fra-cat (the pair I initially implemented the python script for) also uses
both.
http
I've now converted apertium-cat, -por, -por-cat, and -es-pt to use the
shared scripts. Many more repos can benefit from this. I also removed
INSTALL from por's history, so that needs to be recloned.
Also simplified their configure.ac to the minimum required, and made use of
CG-3's pkg-config. Once
El dv., 13 de set. 2019, 1:27, Kevin Brubeck Unhammer
va escriure:
>
> So it seems the python script
> https://github.com/apertium/apertium/blob/master/scripts/apertium-metalrx
> lets you do with templates like {{pfoo}}:
>
> https://github.com/apertium/apertium-por-cat/blob/master/apertium-por-c
Jonathan,
I have been using them a lot in the last two years. You can take a look,
for instance, to the Catalan-Italian pair:
https://github.com/apertium/apertium-cat-ita/blob/master/apertium-cat-ita.cat-ita.metalrx
https://github.com/apertium/apertium-cat-ita/blob/master/apertium-cat-ita.ita-cat.m
Tino Didriksen
čálii:
> https://github.com/apertium/apertium-por-cat uses both metalrx.py and the
> XSLT.
>
> I have moved all these shared scripts and XSLTs to apertium (
> https://github.com/apertium/apertium/tree/master/scripts ), and will be
> updating languages/pairs to use them from there.
https://github.com/apertium/apertium-por-cat uses both metalrx.py and the
XSLT.
I have moved all these shared scripts and XSLTs to apertium (
https://github.com/apertium/apertium/tree/master/scripts ), and will be
updating languages/pairs to use them from there.
-- Tino Didriksen
On Thu, 12 Sep
Thanks, Kevin. Yes, that's the approach I use. It's not well-documented,
but it's pretty straightforward.
Do you know anything about the metalrx.py script that Tino mentioned?
--
Jonathan
On Thu, Sep 12, 2019, 13:47 Kevin Brubeck Unhammer
wrote:
> Jonathan Washington
> čálii:
>
> > I'm cur
Jonathan Washington
čálii:
> I'm curious about metalrx.py. Where is it used? What does it do? Is it
> documented anywhere? I've been using an xslt file I found in a Sámi pair
> for creating lrx from metalrx.
The Sámi pairs use an XSLT script
https://github.com/apertium/apertium-sme-sma/blob/
I'm curious about metalrx.py. Where is it used? What does it do? Is it
documented anywhere? I've been using an xslt file I found in a Sámi pair
for creating lrx from metalrx.
--
Jonathan
On Thu, Sep 12, 2019, 02:19 Tino Didriksen wrote:
> Maybe I can do it myself, then. 2to3 did most of it,
11 matches
Mail list logo