In the command that you copied, note the $1 and $2. Try removing $2
and changing $1 to -g

On Thu, Apr 15, 2021 at 5:55 AM Egea Piñeiro Helena
<helena.e...@rai.usc.es> wrote:
>
> No, please, for some reasons I need to still use this versions. I understand 
> there is no support but just in case those bugs had happened to someone else 
> before or know where do they come from.
>
> I am aware those versions too, I had installed them myself
>
> Thanks!
>
> Get Outlook for Android
>
> ________________________________
> From: Tino Didriksen <m...@tinodidriksen.com>
> Sent: Thursday, April 15, 2021 12:34:51 PM
> To: [apertium-stuff] <apertium-stuff@lists.sourceforge.net>
> Cc: Egea Piñeiro Helena <helena.e...@rai.usc.es>
> Subject: Re: [Apertium-stuff] std::exception in es-ca
>
> es-ca 1.2.1 is dead and gone, replaced with 
> https://github.com/apertium/apertium-spa-cat a long time ago. Guess I'll have 
> to clean up SourceForge's files to avoid such mistakes.
>
> Depending on your OS/distro you can get builds of apertium-spa-cat from our 
> nightly repos https://wiki.apertium.org/wiki/Installation , or just build it 
> from a git clone if you prefer.
>
> -- Tino Didriksen
>
>
> On Thu, 15 Apr 2021 at 11:07, Helena Egea Piñeiro <helena.e...@rai.usc.es> 
> wrote:
>
> Hi!
>
> I'm trying to manually check the pipeline of apertium translation in es-ca 
> 1.2.1 and I come out with this std::exception trying to generate the final 
> translation.
>
>
> echo "tengo trabajo" |  /usr/local/bin/lt-proc 
> /usr/local/share/apertium/apertium-es-ca/es-ca.automorf.bin 
> |/usr/local/bin/apertium-tagger -g $2 
> /usr/local/share/apertium/apertium-es-ca/es-ca.prob 
> |/usr/local/bin/apertium-pretransfer|/usr/local/bin/apertium-transfer 
> /usr/local/share/apertium/apertium-es-ca/es-ca.t1x  
> /usr/local/share/apertium/apertium-es-ca/es-ca.t1x.bin  
> /usr/local/share/apertium/apertium-es-ca/es-ca.autobil.bin 
> |/usr/local/bin/lt-proc $1 
> /usr/local/share/apertium/apertium-es-ca/es-ca.autogen.bin 
> |/usr/local/bin/lt-proc -p 
> /usr/local/share/apertium/apertium-es-ca/es-ca.autopgen.bin
>
> >> std::exception
>
> echo "tengo trabajo"  /usr/local/bin/lt-proc 
> /usr/local/share/apertium/apertium-es-ca/es-ca.automorf.bin 
> |/usr/local/bin/apertium-tagger -g $2 
> /usr/local/share/apertium/apertium-es-ca/es-ca.prob 
> |/usr/local/bin/apertium-pretransfer|/usr/local/bin/apertium-transfer 
> /usr/local/share/apertium/apertium-es-ca/es-ca.t1x  
> /usr/local/share/apertium/apertium-es-ca/es-ca.t1x.bin  
> /usr/local/share/apertium/apertium-es-ca/es-ca.autobil.bin
> >> ^tenir<vblex><pri><p1><sg>$ ^treball<n><m><sg>$
>
>
> Also, I found some warnings when compiling in files t1x saying rule 9 blocks 
> rule 12 and other rules.. I don't know if these two thing could be related.
>
> When I translate directly with apertium es-ca everything goes fine. And that 
> pipeline I copied it from es-ca.mode. So I don't know what is executing 
> apertium that is actually working but not when I do it.
>
>
> Thanks!
>
> _______________________________________________
> Apertium-stuff mailing list
> Apertium-stuff@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/apertium-stuff


_______________________________________________
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to