
#ifndef _Auttools_h
#define _Auttools_h

#include <cstdio>
#include <cctype>
#include <cstring>
#include <cstdlib>

/* #define ISALPHAG(c) ((c>='A' && c<='Z') || (c>='a' && c<='z') || \ */
/*                       c=='¡' || c=='±' || c=='Æ' || c=='æ' || \ */
/*                       c=='Ê' || c=='ê' || c=='£' || c=='³' || \ */
/*                       c=='Ñ' || c=='ñ' || c=='Ó' || c=='ó' || \ */
/*                       c=='¦' || c=='¶' || c=='¬' || c=='¼' || \ */
/*                       c=='¯' || c=='¿' || c=='*') */

#define MAXWORDLEN 64

extern void fullform(const char* b, const char* d,          // in
                     char* f);                              // out

extern void compose(char* stem, char* ending,               // in
                    char* form);                            // out

extern void autodescr(const char* f, const char* des,       // in
                      char* lemma, char* pos, char* attr);  // out

extern int strdiff(char* s, char* t,                        // in
                   int& frontcut, char* prefix,             // out
                   int& endcut, char* suffix);              // out

extern void fprndiff(FILE* f, const char* s, const char* t);// in

extern void sprndiff(char* outstr, const char* s, const char* t); // in

extern void despos(const char* des,                           // in
                   char* pos);                                // out

#endif
