source: trunk/gsdl/packages/mg-1.3d/src/text/stemmer.h@ 29

Last change on this file since 29 was 29, checked in by rjmcnab, 25 years ago

Incorporated the french stemmer better.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1/**************************************************************************
2 *
3 * stemmer.h -- The stemmer/case folder
4 * Copyright (C) 1994 Neil Sharman
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 *
20 * $Id: stemmer.h 29 1998-11-24 06:37:53Z rjmcnab $
21 *
22 **************************************************************************/
23
24#ifndef STEMMER_H
25#define STEMMER_H
26
27#include "sysfuncs.h"
28
29#ifdef FRENCHSTEMMER
30 #include "frenchstem.h"
31#else
32 #include "stem.h"
33#endif
34
35#define STEMMER_MASK 3
36
37/*
38 * Method 0 - Do not stem or case fold.
39 * Method 1 - Case fold.
40 * Method 2 - Stem.
41 * Method 3 - Case fold and stem.
42 */
43void stemmer (int method, u_char * word);
44
45#endif
Note: See TracBrowser for help on using the repository browser.