Bona vesprada,
Fa alguns dies vaig enviar un parell de missatges (veure més abaix) a la
llista general, però com que no he trobat encara la solució, us ho
planteig aquí per veure si em podeu dir alguna cosa.
En primer lloc, vaig afegir les preferències de generació en català al
parell arg-cat. Després, vaig preparar també el parells perquè es puguen
tenir preferències de generació en aragonés. Ara per ara, només hi una
opció: que la conjunció copulativa ("i") siga generada com "e" o com "y"
en aragonés. Amb temps aniré afegint més opcions d'estil.
Compilats els parells al meu ordinador, les opcions i preferències
funcionen, però no he aconseguir que apareguen en beta.apertium.org ni
per a arg->cat, cat->arg o spa->arg. Sabeu què em puc estar deixant?
gràcies,
Juan Pablo
-------- Mensaje reenviado --------
Asunto: Re: [Apertium-stuff] Style preferences in web interface
Fecha: Fri, 19 May 2023 00:56:08 +0200
De: Juan Pablo <jpm...@unizar.es>
Para: apertium-st...@lists.sourceforge.net
Hi Daniel and everyone,
I did the change below so that preferenes are installed, but
beta.apertium.org is not yet aware of the fact that arg->cat allows
preferences.
Since the last email, I also included support for preferences (only an
option, to begin with) in Aragonese generation in spa-arg and arg-cat,
so I would expect the dropdown menu "Style preference" to also appear in
spa->arg and cat->arg directions.
What else may I be missing?
Juan Pablo
El 13/05/2023 a las 21:30, Juan Pablo escribió:
Thanks Daniel!
I pushed the needed changes and I'll check when beta.apertium.org is
updated.
Juan Pablo
El 13/05/2023 a las 20:44, Daniel Swanson escribió:
Hi Juan,
The only step I can see that you're missing is that the arg-spa
makefile doesn't install the preference files. Here's the relevant
lines in nno-nob:
https://urldefense.com/v3/__https://github.com/apertium/apertium-nno-nob/blob/master/Makefile.am*LL270C34-L270C34__;Iw!!D9dNQwwGXtA!QtUltwQRp5oPxLlJ_8KQh20eNmDugZruZ_gjDzOW0m_tS8Hl-HS-863IGKbTZzzo51kzq0XdmUKtjyXVh8zg9JV-8f8$
Daniel
On Sat, May 13, 2023 at 2:06 PM Juan Pablo <jpm...@unizar.es> wrote:
Hi,
For the next version of spa-arg and arg-cat, I would like to include
"style preferences" on Aragonese generation, so that users can chose
different stylistic variants to be generated.
In fact, the current arg-cat pair already allows "generation
preferences" for Catalan. But I see that they do not appear in
beta.apertium.org when I select Aragonese -> Catalan translation, in
contrast with what happens if I select "Spanish -> Catalan" or
"Norwegian Bokmål -> Norwegian Nynorsk". It seems that apy/html-tools is
not aware of arg-cat allowing preferences. How should that be indicated?
Thanks,
Juan Pablo
_______________________________________________
Apertium-stuff mailing list
apertium-st...@lists.sourceforge.net
https://urldefense.com/v3/__https://lists.sourceforge.net/lists/listinfo/apertium-stuff__;!!D9dNQwwGXtA!QtUltwQRp5oPxLlJ_8KQh20eNmDugZruZ_gjDzOW0m_tS8Hl-HS-863IGKbTZzzo51kzq0XdmUKtjyXVh8zgK8mq5gI$
_______________________________________________
Apertium-stuff mailing list
apertium-st...@lists.sourceforge.net
https://urldefense.com/v3/__https://lists.sourceforge.net/lists/listinfo/apertium-stuff__;!!D9dNQwwGXtA!QtUltwQRp5oPxLlJ_8KQh20eNmDugZruZ_gjDzOW0m_tS8Hl-HS-863IGKbTZzzo51kzq0XdmUKtjyXVh8zgK8mq5gI$
_______________________________________________
Apertium-catala mailing list
Apertium-catala@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-catala