SOLVED: I just had to change a single line in the script, the line composing the output:
echo '<e><p><l>'$RWORD'<s n="n"/></l><r>'$LWORD'<s n="n"/></r></p></e>'; Works like charm. Yours, Per Tunedal On Wed, Feb 13, 2013, at 18:53, Per Tunedal wrote: > Hi, > I just found out that the script for generating bidix entries works > alright when translating from the left language to the right language. > Translating from Swedish to Danish works OK in the pair sv-da, but if I > try to translate a Danish text, the lexical entries are reversed: > > <e><p><l>bagepulver<s n="n"/></l><r>Bakpulver<s n="n"/></r></p></e> > <e><p><l>basilikum<s n="n"/></l><r>Basilika_<s n="n"/></r></p></e> > <e><p><l>blade<s n="n"/></l><r>Blad<s n="n"/></r></p></e> > <e><p><l>blegselleri<s n="n"/></l><r>Selleri<s n="n"/></r></p></e> > <e><p><l>blini<s n="n"/></l><r>Blinier<s n="n"/></r></p></e> > <e><p><l>blomkål<s n="n"/></l><r>BlomkÃ¥l<s n="n"/></r></p></e> > <e><p><l>blåmusling<s n="n"/></l><r>BlÃ¥mussla<s n="n"/></r></p></e> > <e><p><l>bolde<s n="n"/></l><r>Samlag<s n="n"/></r></p></e> > > The Danish is at the left side, instead of at the right! Any > suggestions? > Yours, > Per Tunedal > > On Wed, Feb 13, 2013, at 13:00, Jimmy O'Regan wrote: > > On 13 February 2013 11:51, Jimmy O'Regan <[email protected]> wrote: > > > On 13 February 2013 11:27, Per Tunedal <[email protected]> wrote: > > >> Hi, > > >> I'm experimenting with the script on the page > > >> http://wiki.apertium.org/wiki/Building_dictionaries . > > >> > > >> I'm repeatedly getting an error message: > > >> > > >> 'import sitecustomize' failed; use -v for traceback > > >> > > >> All the same, I get results: > > >> > > >> <e><p><l>plånbok<s n="n"/></l><r>Portemonnæ<s n="n"/></r></p></e> > > >> <e><p><l>programkod<s n="n"/></l><r>Kildekode<s n="n"/></r></p></e> > > >> <e><p><l>register<s n="n"/></l><r>Register<s n="n"/></r></p></e> > > >> <e><p><l>replik<s n="n"/></l><r>Replik<s n="n"/></r></p></e> > > >> <e><p><l>scanner<s n="n"/></l><r>Skanner<s n="n"/></r></p></e> > > >> > --snip-- > > > > -- > > <Sefam> Are any of the mentors around? > > <jimregan> yes, they're the ones trolling you > > > > ------------------------------------------------------------------------------ > > 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 > > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ 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
