bisa kirkm unsourc data

Pada Rab, 27 Nov 2024, 20.21, Tino Didriksen <m...@tinodidriksen.com>
menulis:

> You can set cmdline args as environment variables, e.g.:
> $ export "CG3_DEFAULT=--hard-limit 1000"
>
> https://edu.visl.dk/cg3/chunked/cmdreference.html#cmdargs-override -
> there's also CG3_OVERRIDE if you need to enforce your will over an
> explicitly set arg.
>
> -- Tino Didriksen
>
> On Wed, 27 Nov 2024 at 12:40, Finn Johansen <finn.johan...@gmail.com>
> wrote:
>
>> Hi Tino
>>
>> I am trying to use Apertium to translate XML files using wxml as format.
>> However, I can’t seem to find a way to pass —hard-limit N to be respected
>> by the visl binary in the pipe.
>>
>> I’m running on macOS using an example command like this:
>>
>> apertium -u -n -f wxml nob-nno_e ./test.xml ./test_no.xml
>>
>> I get a few of these:
>> Warning: Hard limit of 500 cohorts reached at cohort "<)>" (#5268) on
>> line 3070 - forcing break.
>>
>> Hence I would like to find a way to increase the hard limit in steps
>> until I find a suitable number of cohorts to avoid it breaking.
>>
>> Do you have any experience passing this parameter through the apertium
>> script?
>>
>> Any help would be much appreciated!
>>
>> Kind regards
>> Finn
>
> _______________________________________________
> 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