apertium / apertium-recursive

Recursive structural transfer module for Apertium
https://wiki.apertium.org/wiki/Apertium-recursive
GNU General Public License v3.0
6 stars 4 forks source link

When input pattern has only one LU, put wblank in output automatically #66

Open khannatanmai opened 4 years ago

khannatanmai commented 4 years ago

Shouldn't require a lemma clip when input pattern has only one LU. It should add the wordbound blank to the output automatically. This has been implemented in the 3-stage transfer system already.

mr-martian commented 4 years ago

Look at the instruction LUCOUNT to see how to count input LUs and then just check and set wblank outside the loop, I think.

khannatanmai commented 4 years ago

Yeah it was pretty trivial with normal transfer as well, just put it here as a reminder

तन्मय खन्ना Tanmai Khanna


From: Daniel Swanson notifications@github.com Sent: Friday, August 14, 2020 7:14:21 PM To: apertium/apertium-recursive apertium-recursive@noreply.github.com Cc: Tanmai Khanna khanna.tanmai@gmail.com; Author author@noreply.github.com Subject: Re: [apertium/apertium-recursive] When input pattern has only one LU, put wblank in output automatically (#66)

Look at the instruction LUCOUNT to see how to count input LUs and then just check and set wblank outside the loop, I think.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/apertium/apertium-recursive/issues/66#issuecomment-674081949, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGJBIHUWF3RDQTZTNL4HFDTSAU5TLANCNFSM4P7IXOMQ.