diff russian_impl.c @ 2:754a4550c64e

- added arabic, greek, hebrew and turkish DFAs - new UCS-2LE/BE DFAs - now arabic_impl.c uses arabic DFAs - dfa common macros have been moved to dfa.h - minor cleanups
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Wed, 11 Jun 2008 00:11:30 +0900
parents d9b6ff839eab
children
line wrap: on
line diff
--- a/russian_impl.c	Sat Dec 01 03:27:31 2007 +0900
+++ b/russian_impl.c	Wed Jun 11 00:11:30 2008 +0900
@@ -32,7 +32,7 @@
 static int start_symbol(char ch) {
     if ((ch=='\t')||ch=='\r'||ch=='\n'||(ch==' ')||(ch=='(')||(ch=='"')||(ch=='\'')) return 1;
     return 0;
-}    
+}
 
 typedef const struct lng_stat2 *lng_stat2_ptr;
 
@@ -48,7 +48,7 @@
     altptr=0;
     do{
       d>>=1;
-    
+
       if(!ws){
        if (wi>indexes2) wi-=d;
        else {
@@ -124,7 +124,7 @@
   double winstep,koistep,altstep,winestep,koiestep,altestep,winsstep,koisstep,altsstep;
   double winstat=0,koistat=0,altstat=0,winestat=0,koiestat=0,altestat=0,winsstat=0,koisstat=0,altsstat=0;
   long j;
-  
+
 #ifdef _AUTO_DEBUG
   fprintf(stderr,"Word: %s\n",txt);
 #endif
@@ -185,7 +185,7 @@
 	fprintf(stderr,", Win %lf, Koi %lf, Alt %lf\n",winstep,koistep,altstep);
 #endif
     }
-    
+
     winstat+=winstep;
     koistat+=koistep;
     altstat+=altstep;