The following command finds all nouns in the monodix but not the bidix:

echo '*<n><*><sg>' | lt-paradigm fra-oci.autogen.bin | sed 's/^/^/g' | sed 's/>:.*/>$/g' | lt-proc -b oci-fra.autobil.bin | grep '/@'

The reverse is a bit trickier. The following might work:

echo '*<*>' | lt-paradigm oci-fra.autobil.bin | sed 's/>:.*/>/g' > bidix_words.txt

while read line; do

    echo "${line}<*>" | lt-paradigm fra-oci.autogen.bin | grep '>' || echo "$line" >> missing_words.txt

done < bidix_words.txt

On 7/3/26 09:14, Aure Séguier wrote:

Hi,

It seems to me that it is possible to obtain a list of all the word in a bidix which are not in the monodix, i.e. the words which will be marked with a # when we try to translate.

Anybody knows what I'm talking about and how to obtain such a list ? I need all the words in the oci-fra bidix which are not in the oci monodix.

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/>  





_______________________________________________
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

Reply via email to