RULEXDB_DATASET_NAME(3)
π RULEXDB_DATASET_NAME π
okay bestie, welcome to the Library Functions Manual entry for rulexdb_dataset_name(3) β yes that's the section 3 one, the C library one, not some random shell command, iykyk π¦
β¨ NAME β¨
rulexdb_dataset_name β get a pointer to the dataset name string π
πΈ SYNOPSIS πΈ
#include <rulexdb.h>
const char *rulexdb_dataset_name(int item_type);
π DESCRIPTION π
so like, rulexdb_dataset_name() gets you a pointer to the constant string that holds the internal name of the dataset identified by the item_type argument. and item_type can be one of these iconic values:
RULEXDB_LEXBASEβ the Implicit dictionary.RULEXDB_EXCEPTIONβ the Explicit dictionary.RULEXDB_LEXCLASSβ the Classifiers ruleset.RULEXDB_PREFIXβ the Prefix detectors ruleset.RULEXDB_RULEβ the General ruleset.RULEXDB_CORRECTORβ the Correctors ruleset.
β οΈ not me having to say this but: the dataset must be specified explicitly. RULEXDB_DEFAULT is not allowed here. nope. not a vibe. π«
π RETURN VALUE π
rulexdb_dataset_name() returns a pointer to the dataset name string, or NULL for an unknown dataset. that's it, that's the tea π
π«Ά 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)
like, go read those too, they're all part of the same friend group π
π AUTHOR π
Igor B. Poretsky <poretsky@mlbox.ru> β absolute legend, periodt. π
okay that's the whole page!! this beauty is dated February 22, 2012 and it comes to you from the Library Functions Manual, same as the RULEXDB_DATASET_NAME(3) title up top. mwah, go forth and name your datasets bestie πβ¨π¦
π¦ where this page comes from
- debian trixie: librulexdb-dev 3.8.6-1 Β· LGPL-2.1-or-later
- ubuntu questing: librulexdb-dev 3.8.6-1
- ubuntu resolute: librulexdb-dev 3.8.6-1build1 Β· LGPL-2.1-or-later
- ubuntu stonking: librulexdb-dev 3.8.6-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms