1
.\" Hey, EMACS: -*- nroff -*-
2
.TH RULEXDB_LOAD_RULESET 3 "June 21, 2023"
4
rulexdb_load_ruleset \- load specified ruleset from a rulex database
9
.BI "int rulexdb_load_ruleset(RULEXDB *" rulexdb ", int " rule_type );
13
.BR rulexdb_load_ruleset ()
14
function preloads all data for the ruleset specified by
16
argument that may accept one of the following values:
19
Load the \fBClassifiers\fP ruleset.
22
Load the \fBPrefix detectors\fP ruleset.
25
Load the \fBGeneral\fP ruleset.
28
Load the \fBCorrectors\fP ruleset.
32
references the database to deal with.
34
Loaded ruleset cannot be modified.
37
.BR rulexdb_load_ruleset ()
38
function returns number of loaded records or negative error code.
42
Referenced database has not been opened, internal data structures are
43
corrupted or some other general failure has occurred.
46
Invalid arguments are specified.
49
The database cannot be initialized for loading.
51
.BR rulexdb_classify (3),
53
.BR rulexdb_dataset_name (3),
54
.BR rulexdb_discard_dictionary (3),
55
.BR rulexdb_discard_ruleset (3),
56
.BR rulexdb_fetch_rule (3),
57
.BR rulexdb_lexbase (3),
59
.BR rulexdb_remove_item (3),
60
.BR rulexdb_remove_rule (3),
61
.BR rulexdb_remove_this_item (3),
62
.BR rulexdb_retrieve_item (3),
63
.BR rulexdb_search (3),
65
.BR rulexdb_subscribe_item (3),
66
.BR rulexdb_subscribe_rule (3)
68
Igor B. Poretsky <poretsky@mlbox.ru>.