Hi
Thanks but it doesn't work. Adding the "w" attribute had no effect. I
tried changing the order of the words in the monodix too, but it didn't
change anything.
Is the "w" attribute used in all the monolingual repositories ? I didn't
see anything like this in apertium-oci.
Is there any other way to choose a "default" word, or to understand how
Apertium chooses it ?
Thanks
AureSÉGUIER
Responsabla del pòle informatic
Congrès permanent de la lenga occitana
mobilePhone
+33 (0)5 32 00 00 64 <tel:+33 (0)5 32 00 00 64>
website
www.locongres.org <//www.locongres.org>
address
La Ciutat - Creem! , 5-7 rue de la Fontaine, 64000 Pau
facebook <https://www.facebook.com/lo.congres>
twitter <https://twitter.com/locongres>
linkedin
<https://www.linkedin.com/company/congres-permanent-de-la-lenga-occitane/>
instagram <https://www.instagram.com/locongres/>
Le 09/04/2026 à 15:58, Daniel Swanson a écrit :
Subsequent modules will select whichever analysis is listed first. You
can control the order with weights, so an entry with <e w="0"> will
appear before an entry that begins <e w="1">.
Daniel
On Thu, Apr 9, 2026 at 8:15 AM Aure Séguier <[email protected]>
wrote:
Hi !
I would like to know how Apertium chooses between two potential
categories for a word when it's not disambiguated in the rules.
For instance, I have this :
$
^còsta/còsta<adv>/costar<vblex><pri><p3><sg>/¬còsta<pr><REMOVE:2151>/¬còsta<n><f><sg><REMOVE:1987>/¬costar<vblex><imp><p2><sg><REMOVE:1016>
After the elimination of the three last possibilities, how
Apertium will choose between the two first ? Is it a way to choose
the "default" value when the rules leave a doubt ?
Thanks
--
AureSÉGUIER
Responsabla del pòle informatic
Congrès permanent de la lenga occitana
mobilePhone
+33 (0)5 32 00 00 64 <tel:+33%20(0)5%2032%2000%2000%2064>
website
www.locongres.org <//www.locongres.org>
address
La Ciutat - Creem! , 5-7 rue de la Fontaine, 64000 Pau
facebook <https://www.facebook.com/lo.congres>
twitter <https://twitter.com/locongres>
linkedin
<https://www.linkedin.com/company/congres-permanent-de-la-lenga-occitane/>
instagram <https://www.instagram.com/locongres/>
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff