Update of /cvsroot/monetdb/pathfinder/modules/pftijah
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv2745

Modified Files:
      Tag: XQuery_0-16
        pftijah_stem.mx porter_dutch.c 
Log Message:
Get the new code to compile:
- Stem and dStem expect a char *, not a const char *.
- ContainsVowel is not used.


Index: porter_dutch.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/Attic/porter_dutch.c,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- porter_dutch.c      21 Feb 2007 09:47:10 -0000      1.1.2.1
+++ porter_dutch.c      21 Feb 2007 12:22:09 -0000      1.1.2.2
@@ -122,7 +122,9 @@
 #ifdef __STDC__
 
 static int WordSize( char *word );
+#if 0
 static int ContainsVowel( char *word );
+#endif
 static int DupVCond( char *word );
 static int DuplicateV( char *word );
 static int EndsWithV( char *word );
@@ -137,7 +139,9 @@
 #else
 
 static int WordSize( /* word */ );
+#if 0
 static int ContainsVowel( /* word */ );
+#endif
 static int DupVCond( /* word */ );
 static int DuplicateV( /* word */ );
 static int EndsWithC( /* word */ );
@@ -377,6 +381,7 @@
 
    } /* WordSize */
 
+#if 0
 /*FN**************************************************************************
 
        ContainsVowel( word )
@@ -408,6 +413,7 @@
 
 
    } /* ContainsVowel */
+#endif
 /*WK**************************************************************************
 
        DupVCond( word )

Index: pftijah_stem.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/pftijah_stem.mx,v
retrieving revision 1.11.2.2
retrieving revision 1.11.2.3
diff -u -d -r1.11.2.2 -r1.11.2.3
--- pftijah_stem.mx     21 Feb 2007 09:47:09 -0000      1.11.2.2
+++ pftijah_stem.mx     21 Feb 2007 12:22:09 -0000      1.11.2.3
@@ -646,7 +646,7 @@
 #ifdef STEMMING_DEBUG
        stream_printf(GDKout,"+ stem-porter_english(%s)=",s);
 #endif
-       if ( Stem( s ) ) {
+       if ( Stem( (char *) s ) ) {
 #ifdef STEMMING_DEBUG
            stream_printf(GDKout,"\"%s\"\n",s);
 #endif
@@ -679,7 +679,7 @@
 #ifdef STEMMING_DEBUG
        stream_printf(GDKout,"+ stem-porter_dutch(%s)=",s);
 #endif
-       dStem( s );
+       dStem( (char *) s );
 #ifdef STEMMING_DEBUG
        stream_printf(GDKout,"\"%s\"\n",s);
 #endif


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to