0
|
1 |
/**
|
|
2 |
* $Id: sentence.h 48 2008-01-09 23:59:19Z mbroeker $
|
|
3 |
* $URL: http://localhost/svn/c/VirtualReader/trunk/include/sentence.h $
|
|
4 |
*/
|
|
5 |
|
|
6 |
#ifndef __SENTENCE_H__
|
|
7 |
#define __SENTENCE_H__
|
|
8 |
|
|
9 |
#include <stdio.h>
|
|
10 |
#include <stdlib.h>
|
|
11 |
#include <string.h>
|
|
12 |
#include <ctype.h>
|
|
13 |
|
|
14 |
/* prepares the text */
|
|
15 |
int *parse (char *);
|
|
16 |
|
|
17 |
/* reads a textfile */
|
|
18 |
char *readbuffer (char *);
|
|
19 |
|
|
20 |
/* extracts a substring from a buffer */
|
|
21 |
char *getSentence (char *, int, int);
|
|
22 |
|
|
23 |
/* counts the words of a string */
|
|
24 |
int words (char *);
|
|
25 |
|
|
26 |
char **getstrings (char *, int *);
|
|
27 |
|
|
28 |
#endif
|