Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
apply this before make in trunk/apertium to avoid the dot-insertion by the deformatters
Index: apertium/deformat.xsl
===================================================================
--- apertium/deformat.xsl (revision 30823)
+++ apertium/deformat.xsl (working copy)
@@ -510,7 +510,7 @@
{
if(eosIncond)
{
- fputws_unlocked(L".[]", yyout);
+ fputws_unlocked(L"[]", yyout);
}
}
@@ -518,7 +518,7 @@
{
if(isDot && !eosIncond)
{
- fputws_unlocked(L".[]", yyout);
+ fputws_unlocked(L"[]", yyout);
isDot = false;
}
if(buffer.size() &gt; <xsl:value-of select="/format/options/largeblocks/@size"/>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment