2013/2/5 Per Tunedal <[email protected]>

> Hmm
> 1. Man blir glad när ens barn ger en blommor.
>
> en is analysed correctly in the first step:
>
> ^en/en<det><ind><ut><sg>/en<prn><pers><p3><ut><sg><nom>/man<prn><pers><p3><ut><sg><acc>$
>
> but the analysis is abandoned in step 2:
>  ^en<prn><pers><p3><ut><sg><nom>$
>
> Why?
>

This is a tagger error.
It should select man<prn><pers><p3><ut><sg><acc>, but this is *way* outside
of what the bigram tagger is able to and will ever be able to, as it only
looks at 2 words when it decides what to select.

Try to open it in apertium-viewer. There you can manually remove the
incorrect ones and check if the rest of the stages works.



>
> 2. Ankaret på 3 kg håller för minst 50 kp om man ankrat på en
> sandbotten.
>
> en gets two analysis in step 1:
>
> ^en/en<det><ind><ut><sg>/en<prn><pers><p3><ut><sg><nom>/man<prn><pers><p3><ut><sg><acc>$
>
> but the wrong one is choosen in step 2:
>
> $ ^en<prn><pers><p3><ut><sg><nom>$
>
> Why?
>

Again, a tagger error.
For this it might be worthwhile to train the tagger to select
en<det><ind><ut><sg> when there is an <ut> noun just after.

You could also do some pre-disambiguation (like CG) on the input before it
is handlet over to the tagger.

Most surely the taggers could need a re-train, but it will probably
introduce other errors as the tragger is a really simple bigram tagger.
We have the same (big) problem with English->Esperanto.


>
> the pronoun "man" should be easy but I get strange results. Is it the
> fault of the tagger or is something else wrong?

Even if 'en' and 'man' are very similar pronouns, I think that probaly
swedish 'en' corresponds to danish 'en' and swedish 'man' corresponds
always to Danish 'man'.
If that is the case the best would be to remove entries that translates
'en' to 'man' or inverse in the bidix.


-- 
Jacob Nordfalk <http://profiles.google.com/jacob.nordfalk>
javabog.dk
Androidudvikler og -underviser på
DTU<http://cv.ihk.dk/diplomuddannelser/itd/vf/MAU>og
Lund&Bendsen <https://www.lundogbendsen.dk/undervisning/beskrivelse/LB1809/>
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to