More code cleanup
[svmtool++.git] / src / er.h
blobb29ca311a8776ab3f2ee0edb37d91529ed90da6d
1 /*
2 * Copyright (C) 2004 Jesus Gimenez, Lluis Marquez and Senen Moya
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef SVMT_ER_H
21 #include <sys/types.h>
22 #include <regex.h>
24 /*****************************************************************
25 * Regular expression
26 *****************************************************************/
28 #define CARD 100
29 #define CARDPUNCT 101
30 #define CARDSEPS 102
31 #define CARDSUFFIX 103
33 extern regex_t erCard,erCardPunct,erCardSeps,erCardSuffix;
34 extern regex_t erMultiWord,erContainNum,erStartCap,erStartLower,erStartNumber,
35 erAllUp,erAllLow,erContainCap,erContainCaps,erContainPeriod,erContainComma;
37 void erCompRegExp();
38 void erFreeRegExp();
39 int erLookRegExp2(void *er, char * str);
40 int erLookRegExp(char *m);
42 #define SVMT_ER_H
43 #endif