Hèctor Alòs i Font <[email protected]> čálii:
> where can we read
> anything about weight in lttoolbox?
Put the w attribute on an <e> like
<e w="2.0">
and use
lt-proc -L1
to output only the 1 best weight classes.
I believe unmarked <e> is the same as <e w="1.0">, and lower is better.
Use lt-proc -W to show the weights (see lt-proc --help; it's missing
from the manual https://github.com/apertium/lttoolbox/issues/40 ).
I've been considering turning it on in nno.dix generation, to prefer
forms that have the same upper/lower-case as their lemma. It comes at a
slight cost to compilation time and fst size though (and I compile quite
often …).
signature.asc
Description: PGP signature
_______________________________________________ Apertium-stuff mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/apertium-stuff
