OLD | NEW |
1 #ifndef _SUGGESTMGR_HXX_ | 1 #ifndef _SUGGESTMGR_HXX_ |
2 #define _SUGGESTMGR_HXX_ | 2 #define _SUGGESTMGR_HXX_ |
3 | 3 |
4 #define MAXSWL 100 | 4 #define MAXSWL 100 |
5 #define MAXSWUTF8L (MAXSWL * 4) | 5 #define MAXSWUTF8L (MAXSWL * 4) |
6 #define MAX_ROOTS 100 | 6 #define MAX_ROOTS 100 |
7 #define MAX_WORDS 100 | 7 #define MAX_WORDS 100 |
8 #define MAX_GUESS 200 | 8 #define MAX_GUESS 200 |
9 #define MAXNGRAMSUGS 4 | 9 #define MAXNGRAMSUGS 4 |
10 #define MAXPHONSUGS 2 | 10 #define MAXPHONSUGS 2 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 int commoncharacterpositions(char * s1, const char * s2, int * is_swap); | 110 int commoncharacterpositions(char * s1, const char * s2, int * is_swap); |
111 void bubblesort( char ** rwd, char ** rwd2, int * rsc, int n); | 111 void bubblesort( char ** rwd, char ** rwd2, int * rsc, int n); |
112 void lcs(const char * s, const char * s2, int * l1, int * l2, char ** result)
; | 112 void lcs(const char * s, const char * s2, int * l1, int * l2, char ** result)
; |
113 int lcslen(const char * s, const char* s2); | 113 int lcslen(const char * s, const char* s2); |
114 char * suggest_hentry_gen(hentry * rv, char * pattern); | 114 char * suggest_hentry_gen(hentry * rv, char * pattern); |
115 | 115 |
116 }; | 116 }; |
117 | 117 |
118 #endif | 118 #endif |
119 | 119 |
OLD | NEW |