1 /* regex_feature.h -- helper functions for recognizers using regexes
2 
3    Copyright (C) 2000 Carl Worth
4 
5    This program is free software; you can redistribute it and/or modify
6    it under the terms of the GNU General Public License as published by
7    the Free Software Foundation; either version 2, or (at your option)
8    any later version.
9 
10    This program is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13    GNU General Public License for more details.
14 */
15 
16 #ifndef REGEX_FEATURE_H
17 #define REGEX_FEATURE_H
18 
19 #include <sys/types.h>
20 #include <regex.h>
21 
22 regex_t *regex_feature_alloc(char *regex_str);
23 void regex_feature_free(regex_t *regex);
24 double regex_feature_recognize(regex_t *regex, char *sequence);
25 
26 #endif
27