logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rulexdb_dataset_name - get pointer to the dataset name string

Author

       Igor B. Poretsky <poretsky@mlbox.ru>.

                                                February 22, 2012                        RULEXDB_DATASET_NAME(3)

Description

       The  rulexdb_dataset_name()  function gets pointer to the constant string containing internal name of the
       dataset identified by item_type argument that may accept one of the following values:

       RULEXDB_LEXBASE
              The Implicit dictionary.

       RULEXDB_EXCEPTION
              The Explicit dictionary.

       RULEXDB_LEXCLASS
              The Classifiers ruleset.

       RULEXDB_PREFIX
              The Prefixdetectors ruleset.

       RULEXDB_RULE
              The General ruleset.

       RULEXDB_CORRECTOR
              The Correctors ruleset.

       Note that the dataset must be specified explicitly. The value RULEXDB_DEFAULT is not allowed here.

Name

       rulexdb_dataset_name - get pointer to the dataset name string

Return Value

       The rulexdb_dataset_name() function returns pointer to the  dataset  name  string  or  NULL  for  unknown
       dataset.

See Also

rulexdb_classify(3),    rulexdb_close(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>constchar*rulexdb_dataset_name(intitem_type);

See Also