From the monolingual dictionary, you'll need to do something like:

$ lt-expand ../apertium-eng_feil/apertium-eng.eng.dix | grep '<inf>' | 
sed 's/:[><]:/:/g' | grep -v '\+' | cut -f2 -d':' | sed 's/.*/^&$/g' | 
apertium-pretransfer
^be<vbser><inf>$
^be<vbser><inf>$
^accept<vblex><inf>$
^travel<vblex><inf>$
^go# across<vblex><inf>$
^go# out<vblex><inf>$

I can give you more explicit commands if you say what you'd like to do 
:)

F.


A 2016-08-05 17:40, [email protected] escriguĂ©:
> Thanks Francis,
> is there a command to output "take# away<vblex>"?
> 
> On 04.08.2016 20:51, Francis Tyers wrote:
>> A 2016-08-04 18:14, [email protected] escriguĂ©:
>>> Hi,
>>> I'm new to Apertium platform, could you please confirm to me that 
>>> it's
>>> the lemma that needs to be specified in the bilingual dictionaries?
>>> I've noticed that multiwords also contain <b/> and <g> tags which 
>>> make
>>> them different from the lemma (lm attribute value) in the monolingual
>>> dictionary, is this the only difference?
>>> Regards
>> 
>> Yes, the lm="" attribute is only a commend. The real lemma is built
>> from
>> the combination
>> of the <i> (or <r>) sides.
>> 
>> So:
>> 
>> <pardef n="t/ake__vblex">
>>    <e><p><l>ake</l><r>ake<s n="vblex"/><s n="inf"/></r></p></e>
>>    <e><p><l>ook</l><r>ake<s n="vblex"/><s n="past"/></r></p></e>
>>    ...
>> </pardef>
>> ...
>> 
>> <e lm="take away"><i>t</i><par
>> n="t/ake__vblex"/><p><l><b/>away</l><r><g><b/>away</g></r></p></e>
>> 
>> The lemma that needs to be specified in the bidix is:
>> 
>> take# away<vblex>
>> 
>> Fran
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> 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