source: app/src/lib/auttools.h @ 25ae32e

help
Last change on this file since 25ae32e was 25ae32e, checked in by obrebski <obrebski@…>, 16 years ago

git-svn-id: svn://atos.wmid.amu.edu.pl/utt@4 e293616e-ec6a-49c2-aa92-f4a8b91c5d16

  • Property mode set to 100644
File size: 1.4 KB
Line 
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
19extern void fullform(const char* b, const char* d,          // in
20                     char* f);                              // out
21
22extern void compose(char* stem, char* ending,               // in
23                    char* form);                            // out
24
25extern void autodescr(const char* f, const char* des,       // in
26                      char* lemma, char* pos, char* attr);  // out
27
28extern int strdiff(char* s, char* t,                        // in
29                   int& frontcut, char* prefix,             // out
30                   int& endcut, char* suffix);              // out
31
32extern void fprndiff(FILE* f, const char* s, const char* t);// in
33
34extern void sprndiff(char* outstr, const char* s, const char* t); // in
35
36extern void despos(const char* des,                           // in
37                   char* pos);                                // out
38
39#endif
Note: See TracBrowser for help on using the repository browser.