1
.\" Hey, EMACS: -*- nroff -*-
2
.TH RULEXDB_LEXBASE 3 "February 20, 2012"
4
rulexdb_lexbase \- try to find lexical base for the specified word
9
.BI "int rulexdb_lexbase(RULEXDB *" rulexdb ", const char *" s \
10
", char *" t ", int " n );
15
function scans \fBClassifiers\fP ruleset starting from
17
which must be positive trying to match the word pointed by
19
When match succeeds, the lexical base is constructed in memory area
22
which must have enough space for it, and the number of matched rule or
23
0 if no match found is returned.
27
references the rulex database to search in.
31
function returns the number of matched rule that is always positive, 0
32
when no match found, or negative error code.
36
Referenced database has not been opened, internal data structures are
37
corrupted or some other general failure has occurred.
40
Internal memory allocation error.
43
Invalid parameters are specified.
45
.BR rulexdb_classify (3),
47
.BR rulexdb_dataset_name (3),
48
.BR rulexdb_discard_dictionary (3),
49
.BR rulexdb_discard_ruleset (3),
50
.BR rulexdb_fetch_rule (3),
51
.BR rulexdb_load_ruleset (3),
53
.BR rulexdb_remove_item (3),
54
.BR rulexdb_remove_rule (3),
55
.BR rulexdb_remove_this_item (3),
56
.BR rulexdb_retrieve_item (3),
57
.BR rulexdb_search (3),
59
.BR rulexdb_subscribe_item (3),
60
.BR rulexdb_subscribe_rule (3)
62
Igor B. Poretsky <poretsky@mlbox.ru>.