Ignore:
Timestamp:
2006-09-28T16:58:10+12:00 (18 years ago)
Author:
kjdon
Message:

the compilation of the accent folding stuff (which needs unac package and iconv library) is now under the control of ENABLE_ACCENTFOLD, which gets defined in the CFLAGS if we want accent folding. turn it off in the mgpp/src/text/Makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/mgpp/text/stemmer.cpp

    r12879 r12915  
    2727#include "unitool.h"
    2828
     29#ifdef ENABLE_ACCENTFOLD
    2930/* [JFG - Mar 06: Accent folding patch] */
    3031#include "unac.h"
     32#endif
    3133
    3234#define LOVINSTEMMER        0
     
    5557}
    5658
     59#ifdef ENABLE_ACCENTFOLD
    5760/* [JFG - Mar 06: Accent folding patch] */
    5861/* =========================================================================
     
    7578  return;
    7679}
    77 
     80#endif
    7881     
    7982int mgpp_stemmernumber (u_char *stemmerdescription) {
     
    123126  }
    124127
     128#ifdef ENABLE_ACCENTFOLD
    125129  if (method & STEM_AccentFolding) {
    126130    mgpp_unicode_accentfold (word);
    127131  }
     132#endif
    128133
    129134  if (method & STEM_Stemming) {
Note: See TracChangeset for help on using the changeset viewer.