From: Per T. <per...@op...> - 2012-09-07 09:09:46
|
Hi, I found your suggestion elegant and useful. Hence, I put your suggestion in alphabetical order and tried: <e srl="1"><p><l>icke<s n="adv"/></l> <r>ikke<s n="adv"/></r></p></e> <e> <p><l>inte<s n="adv"/></l> <r>ikke<s n="adv"/></r></p></e> and got: echo "Danska till svenska fungerar inte. Jo, det gör det nu." | apertium -d /home/per/Repository/apertium-sv-da sv-da Danske til svensk fungerer ikke. Jo, det gør det nu. but echo "Dansk til svensk virker ikke" | apertium -d /home/per/Repository/apertium-sv-da da-sv Danska till svenska fungerar #icke Then I tried your suggestion just as you wrote it and got the same result. Yours, Per Tunedal On Fri, Sep 7, 2012, at 10:38, Trosterud Trond wrote: > > Jacob Nordfalk kirjoitti 7. sep. 2012 kello 09:23: > > For sme-nob, we use slr=1 all the time. > > <e> <p><l>ahte<s n="CC"/></l><r>at<s n="cnjcoo"/><s > n="clb"/></r></p></e> > <e slr="1"><p><l>ahte<s n="CC"/></l><r>og<b/>at<s n="cnjcoo"/><s > n="clb"/></r></p></e> > > This means that both "at" and "og" would have been translated to ahte, if > we had had the nob-sme translation option. For sme-nob we do not need any > restriction RL to prevent ahte from being translated to "og", the slr=1 > does the same trix: ahte is translated to "at" __as long as our CG rule > for substituting "ahte" with "ahte:1" does not hit, slr=1 will have the > same effect as (a modularized) r="RL". > > So I see no need for combining the two tag types. > > > So, > > <e> <p><l>inte<s n="adv"/></l> <r>ikke<s n="adv"/></r></p></e> > > <e srl="1"><p><l>icke<s n="adv"/></l> <r>ikke<s n="adv"/></r></p></e> > > should give ikke for both into and icke, but icke for ikke for the cases > where your rule gives you reasons to choose icke. > > Trond. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Apertium-stuff mailing list > Ape...@li... > https://lists.sourceforge.net/lists/listinfo/apertium-stuff |