Hi Prasanta,

I'm delighted you are working on Santali.

I have seen your code in github, and I have seen nothing that could
generate this kind of error. So, I downloaded your code, I fixed the
eng-sat.t1x file because it has a syntactic error, and I ran the
translation of "cows"... but I can't get anything, seemingly because of a
problem in the postchunk module (although it is standard):

$ echo "cow" | apertium -d . eng-sat-interchunk
^ᱰᱟᱹᱝᱜᱽᱨᱤ<sg>$^sent<SENT>{^᱾<sent>$}$
$ echo "cow" | apertium -d . eng-sat-postchunk
^᱾<sent>$

In any case, if you somehow get something of the type "X/Y" (like "ᱰᱟᱹᱝᱜᱽᱨᱤ
ᱠᱤᱱ/ ᱰᱟᱹᱝᱜᱽᱨᱤ ᱠᱚ") this is because in the target dictionary there are two
generations for  ᱰᱟᱹᱝᱜᱽᱨᱤ<n><pl>. Probably you have:

<pardef n="ᱰᱟᱹᱝᱜᱽᱨᱤ__n">
<e> <p><l></l> <r><s n="n"/><s n="sg"/></r></p></e>
<e> <p><l>ᱠᱤᱱ</l> <r><s n="n"/><s n="*pl*"/></r></p></e>
<e> <p><l>ᱠᱚ</l> <r><s n="n"/><s n="pl"/></r></p></e>
</pardef>

instead of:

<pardef n="ᱰᱟᱹᱝᱜᱽᱨᱤ__n">
<e> <p><l></l> <r><s n="n"/><s n="sg"/></r></p></e>
<e> <p><l>ᱠᱤᱱ</l> <r><s n="n"/><s n="du"/></r></p></e>
<e> <p><l>ᱠᱚ</l> <r><s n="n"/><s n="pl"/></r></p></e>
</pardef>

Regards,
Hèctor


Missatge de Prasanta Hembram <[email protected]> del dia dg., 19
de des. 2021 a les 19:09:

> Hi, I'm working on a new language pair English -Santali pair and trying to
> learn everyday how can i improve this pair. Today I had a few doubts.
>
> Doubt 1: Plural rules are not working when translating from English to
> Santali, The English plural form "Cows" returns output " ᱰᱟᱹᱝᱜᱽᱨᱤ " instead
> of "ᱰᱟᱹᱝᱜᱽᱨᱤ ᱠᱤᱱ/ ᱰᱟᱹᱝᱜᱽᱨᱤ ᱠᱚ" . I have set up paradef but no luck. How to
> get the correct output??
>
> The correct forms are as follows
> Cow = ᱰᱟᱹᱝᱜᱽᱨᱤ
> Cows = ᱰᱟᱹᱝᱜᱽᱨᱤ ᱠᱤᱱ  or Two Cows = ᱰᱟᱹᱝᱜᱽᱨᱤ ᱠᱤᱱ
> Cows = ᱰᱟᱹᱝᱜᱽᱨᱤ ᱠᱚ
>
> My Santali Monolingual Dictionary link:
> https://github.com/Prasanta-Hembram/apertium-sat
>
> English-Santali Bilingual Dictionary link :
> https://github.com/Prasanta-Hembram/apertium-eng-sat
>
> echo "cows" | apertium -d . eng-sat-transfer
>
> returns wrong output: ^ᱰᱟᱹᱝᱜᱽᱨᱤ<pl>$^sent<SENT>{^᱾<sent>$}$
>
>
>
>
>
>
> <pardef n="ᱰᱟᱹᱝᱜᱽᱨᱤ__n">
> <e>       <p><l></l>          <r><s n="n"/><s n="sg"/></r></p></e>
> <e>       <p><l>ᱠᱤᱱ</l>          <r><s n="n"/><s n="du"/></r></p></e>
> <e>       <p><l>ᱠᱚ</l>         <r><s n="n"/><s n="pl"/></r></p></e>
>     </pardef>
>
> --
> Thanks
> with best regards
> Prasanta Hembram
> _______________________________________________
> 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