Rev | Line | |
---|
[25ae32e] | 1 | |
---|
| 2 | #ifndef _Auttools_h |
---|
| 3 | #define _Auttools_h |
---|
| 4 | |
---|
| 5 | #include <stdio.h> |
---|
| 6 | #include <ctype.h> |
---|
| 7 | #include <string.h> |
---|
| 8 | #include <stdlib.h> |
---|
| 9 | |
---|
| 10 | /* #define ISALPHAG(c) ((c>='A' && c<='Z') || (c>='a' && c<='z') || \ */ |
---|
| 11 | /* c=='¡' || c=='±' || c=='Æ' || c=='æ' || \ */ |
---|
| 12 | /* c=='Ê' || c=='ê' || c=='£' || c=='³' || \ */ |
---|
| 13 | /* c=='Ñ' || c=='ñ' || c=='Ó' || c=='ó' || \ */ |
---|
| 14 | /* c=='Š' || c=='¶' || c=='¬' || c=='Œ' || \ */ |
---|
| 15 | /* c=='¯' || c=='¿' || c=='*') */ |
---|
| 16 | |
---|
| 17 | #define MAXWORDLEN 64 |
---|
| 18 | |
---|
| 19 | extern void fullform(const char* b, const char* d, // in |
---|
| 20 | char* f); // out |
---|
| 21 | |
---|
| 22 | extern void compose(char* stem, char* ending, // in |
---|
| 23 | char* form); // out |
---|
| 24 | |
---|
| 25 | extern void autodescr(const char* f, const char* des, // in |
---|
| 26 | char* lemma, char* pos, char* attr); // out |
---|
| 27 | |
---|
| 28 | extern int strdiff(char* s, char* t, // in |
---|
| 29 | int& frontcut, char* prefix, // out |
---|
| 30 | int& endcut, char* suffix); // out |
---|
| 31 | |
---|
| 32 | extern void fprndiff(FILE* f, const char* s, const char* t);// in |
---|
| 33 | |
---|
| 34 | extern void sprndiff(char* outstr, const char* s, const char* t); // in |
---|
| 35 | |
---|
| 36 | extern void despos(const char* des, // in |
---|
| 37 | char* pos); // out |
---|
| 38 | |
---|
| 39 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.