rulexdb_classify - test specified word whether it represents a lexical base
Contents
Description
The rulexdb_classify() function tests the word pointed by s argument trying to determine if it can be
treated as a lexical base according to the rulex database referenced by rulexdb argument.
Errors
RULEXDB_FAILURE
Referenced database has not been opened, internal data structures are corrupted or some other
general failure has occurred.
RULEXDB_EMALLOC
Internal memory allocation error.
RULEXDB_EPARM
Invalid parameters are specified.
Name
rulexdb_classify - test specified word whether it represents a lexical base
Return Value
The rulexdb_classify() function returns RULEXDB_SUCCESS which is zero when the word represents no lexical
base, positive value RULEXDB_SPECIAL when the word can be treated as a lexical base, or negative error
code if something is wrong.
See Also
rulexdb_close(3), rulexdb_dataset_name(3), rulexdb_discard_dictionary(3), rulexdb_discard_ruleset(3), rulexdb_fetch_rule(3), rulexdb_lexbase(3), rulexdb_load_ruleset(3), rulexdb_open(3), rulexdb_remove_item(3), rulexdb_remove_rule(3), rulexdb_remove_this_item(3), rulexdb_retrieve_item(3), rulexdb_search(3), rulexdb_seq(3), rulexdb_subscribe_item(3), rulexdb_subscribe_rule(3)
Synopsis
#include<rulexdb.h>intrulexdb_classify(RULEXDB*rulexdb,constchar*s);
