diff options
Diffstat (limited to 'engparser.h')
-rw-r--r-- | engparser.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/engparser.h b/engparser.h index f58b3cb..516193b 100644 --- a/engparser.h +++ b/engparser.h @@ -31,6 +31,21 @@ typedef struct { int excl_word_after_symb; } Parseoptions; +/* Parsing options */ +extern int lower_first_capital; +extern int excl_w_capital; +extern Parseoptions hyphen; +extern Parseoptions quote; + +/* + * Recieves: line terminated by "\n\0" + * + * Words with "-" we'll be processed as a whole word + * And also we suppose that each sentence starts with capital letter + * and other words in the middle of the sentence which starts with + * capital letter is name (peoples, towns, I, etc...). + * Single quoted sentences are not allowed. It's gramatically incorrect + */ int parseengphrase(char *); int parse_eng_word(char *word, Parseoptions opt); |