From e491cf8ad72d6752af8dac345d3bbc491e21a13a Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 28 Jun 2005 16:37:40 +0000 Subject: 0.1.6 * Function name is changed to conform LibRCC naming conventions * AutoConf Improvements * Release Script * Other minor changes --- statgen/test.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'statgen/test.c') diff --git a/statgen/test.c b/statgen/test.c index 936b491..46d4951 100644 --- a/statgen/test.c +++ b/statgen/test.c @@ -1,5 +1,5 @@ #include -#include "charset_auto_russian.h" +#include "librcd.tmp.c" main(int argc, char *argv[]) { FILE *f; @@ -37,11 +37,7 @@ main(int argc, char *argv[]) { } if (strlen(phrase)<5) continue; - a[autocharset_russian_uc(phrase,strlen(phrase))]++; -// a[autocharset_russian(phrase,strlen(phrase))]++; - -// a[autocharset_russian(word+st,len+1-st)]++; -// puts(word); + a[rcdGetRussianCharset(phrase,0)]++; } printf("Win: %lu, Koi: %lu, Alt: %lu, UTF: %lu\n",a[0],a[1],a[3],a[2]); @@ -70,9 +66,7 @@ main(int argc, char *argv[]) { } if (strlen(phrase)<5) continue; - i=autocharset_russian_uc(phrase,strlen(phrase)); -// i=autocharset_russian(phrase,strlen(phrase)); -// i=autocharset_russian(word+st,len+1-st); + i=rcdGetRussianCharset(phrase,0); if (i!=max) { if (i==0) printf("Win: %s\n",phrase); else if (i==1) printf("Koi: %s\n",phrase); -- cgit v1.2.3