-
Notifications
You must be signed in to change notification settings - Fork 3
/
stemmers.def
112 lines (88 loc) · 3.14 KB
/
stemmers.def
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 2002-2009 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt. |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Snowball sources copyright (c) M.F. Porter |
+----------------------------------------------------------------------+
| Author: Jay Smith <jay@php.net> |
| Olivier Hill <ohill@php.net> |
+----------------------------------------------------------------------+
*/
/* $Id$ */
/* STEMMER(php_func, c_func, constant, name) */
#if ENABLE_PORTER
STEMMER(porter, porter, PORTER, "porter")
#endif
#if ENABLE_ARMENIAN
STEMMER(armenian, armenian, ARMENIAN, "armenian")
#endif
#if ENABLE_BASQUE
STEMMER(basque, basque, BASQUE, "basque")
#endif
#if ENABLE_CATALAN
STEMMER(catalan, catalan, CATALAN, "catalan")
#endif
#if ENABLE_CZECH
STEMMER(czech, czech, CZECH, "czech")
#endif
#if ENABLE_DANISH
STEMMER(danish, danish, DANISH, "danish")
#endif
#if ENABLE_DUTCH
STEMMER(dutch, dutch, DUTCH, "dutch")
#endif
#if ENABLE_ENGLISH
STEMMER(english, english, ENGLISH, "english")
#endif
#if ENABLE_FINNISH
STEMMER(finnish, finnish, FINNISH, "finnish")
#endif
#if ENABLE_FRENCH
STEMMER(french, french, FRENCH, "french")
#endif
#if ENABLE_GERMAN
STEMMER(german, german, GERMAN, "german")
#endif
#if ENABLE_GERMAN2
STEMMER(german2, german2, GERMAN2, "german2")
#endif
#if ENABLE_HUNGARIAN
STEMMER(hungarian, hungarian, HUNGARIAN, "hungarian")
#endif
#if ENABLE_IRISH
STEMMER(irish, irish, IRISH, "irish")
#endif
#if ENABLE_ITALIAN
STEMMER(italian, italian, ITALIAN, "italian")
#endif
#if ENABLE_NORWEGIAN || defined(STEMMER_FORCE)
STEMMER(norwegian, norwegian, NORWEGIAN, "norwegian")
#endif
#if ENABLE_PORTUGUESE || defined(STEMMER_FORCE)
STEMMER(portuguese, portuguese, PORTUGUESE, "portuguese")
#endif
#if ENABLE_ROMANIAN || defined(STEMMER_FORCE)
STEMMER(romanian, romanian, ROMANIAN, "romanian")
#endif
#if ENABLE_RUSSIAN || defined(STEMMER_FORCE)
STEMMER(russian, russian, RUSSIAN, "russian")
#endif
#if ENABLE_SPANISH || defined(STEMMER_FORCE)
STEMMER(spanish, spanish, SPANISH, "spanish")
#endif
#if ENABLE_SWEDISH || defined(STEMMER_FORCE)
STEMMER(swedish, swedish, SWEDISH, "swedish")
#endif
#if ENABLE_TURKISH || defined(STEMMER_FORCE)
STEMMER(turkish, turkish, TURKISH, "turkish")
#endif