1
.\" Hey, EMACS: -*- nroff -*-
2
.TH RULEXDB_REMOVE_RULE 3 "February 19, 2012"
4
rulexdb_remove_rule \- remove specified rule from the rulex database
9
.BI "int rulexdb_remove_rule(RULEXDB *" rulexdb ", int " rule_type \
14
.BR rulexdb_remove_rule ()
15
function removes a rule identified by its type and position in the
16
ruleset from the rulex database
23
specifies the rule type. It may accept one of the following values:
26
The rule is the word classifier and belongs to the \fBClassifiers\fP
30
The requested rule should be removed from the \fBPrefix detectors\fP
34
The requested rule should be removed from the \fBGeneral\fP rules
38
The rule is a correction rule that belongs to the \fBCorrectors\fP
43
defines position of the requested rule in the ruleset.
46
.BR rulexdb_remove_rule ()
49
which is zero when specified rule was successfully removed, positive
52
when there is no rule with such number in specified ruleset, or
53
negative error code otherwise.
57
Referenced database has not been opened, internal data structures are
58
corrupted or some other general failure has occurred.
68
The database is not opened for updating.
70
.BR rulexdb_classify (3),
72
.BR rulexdb_dataset_name (3),
73
.BR rulexdb_discard_dictionary (3),
74
.BR rulexdb_discard_ruleset (3),
75
.BR rulexdb_fetch_rule (3),
76
.BR rulexdb_lexbase (3),
77
.BR rulexdb_load_ruleset (3),
79
.BR rulexdb_remove_item (3),
80
.BR rulexdb_remove_this_item (3),
81
.BR rulexdb_retrieve_item (3),
82
.BR rulexdb_search (3),
84
.BR rulexdb_subscribe_item (3),
85
.BR rulexdb_subscribe_rule (3)
87
Igor B. Poretsky <poretsky@mlbox.ru>.