Skip to content

Instantly share code, notes, and snippets.

@unhammer
Created November 28, 2013 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unhammer/7689291 to your computer and use it in GitHub Desktop.
Save unhammer/7689291 to your computer and use it in GitHub Desktop.
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