Hey all!
I just found some strange behaviour in the built-in lexical transfer in
apertium-transfer:
Output from lt-proc -b | apertium-transfer -b:
$ echo "direbech" | apertium -d . br-fr-biltrans | apertium-transfer -b
apertium-br-fr.br-fr.t1x br-fr.t1x.bin
^Adj<SA><mf><sp>{^sans reproche<adj><mf><sp>$}$^punt<sent>{^.<sent>$}$
Output from apertium-transfer:
$ echo "direbech" | apertium -d . br-fr-tagger | apertium-transfer
apertium-br-fr.br-fr.t1x br-fr.t1x.bin br-fr.autobil.bin
^Adj<SA><mf><sp>{^sans
reproche<adj><mf><3><sp>$}$^punt<sent>{^.<sent>$}$
Bilingual dictionary entry:
$ cat apertium-br-fr.br-fr.dix | grep 'sans.*reproche'
<e><p><l>direbech<s n="adj"/><s n="mf"/><s
n="sp"/></l><r>sans<b/>reproche<s n="adj"/><s n="mf"/><s
n="sp"/></r></p></e>
Expansion of dictionary:
$ lt-expand apertium-br-fr.br-fr.dix | grep 'sans.*repro'
direbech<adj><mf><sp>:sans reproche<adj><mf><sp>
Anyone else come across this behaviour before ?
Fran
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff