Last change
on this file since abd28d1 was
5f4d9c3,
checked in by Maciej Prill <mprill@…>, 13 years ago
|
Rewritten the build system, added lem UTF-8 version.
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Rev | Line | |
---|
[5f4d9c3] | 1 | |
---|
| 2 | #ifndef _Auttools_h |
---|
| 3 | #define _Auttools_h |
---|
| 4 | |
---|
| 5 | #include <cstdio> |
---|
| 6 | #include <cctype> |
---|
| 7 | #include <cstring> |
---|
| 8 | #include <cstdlib> |
---|
| 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.