Hey guys, there's a few more important updates about blanks in Apertium.

1. Empty strings are now counted as blanks as well.
2. A blank is popped from the blank queue only if the <b/> or <b
pos="1,2.."/> is inside <out>..</out>, so that you can do checks with
blanks (the front one in the queue at least) in other places, such as
macros, or within <test>..</test> blocks.

Thanks and Regards,
*तन्मय खन्ना *
*Tanmai Khanna*


On Sun, Aug 30, 2020 at 5:59 PM Tanmai Khanna <khanna.tan...@gmail.com>
wrote:

> Are the changes being implemented going to alter the behavior of the
>> punctuation marks that are not analyzed as tokens?
>>
>
> Yes, as was discussed in the thread about markup handling in Apertium,
> input blanks are now read as a queue and output in order in the available
> <b/> spots in the rule output. So it might not be possible to strictly
> control the position of the blanks in the output as was done earlier, but
> that was pretty much the intention of the change.
>
> *तन्मय खन्ना *
> *Tanmai Khanna*
>
_______________________________________________
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to