Crate crfsuite_sys [−] [src]
Structs
_G_fpos64_t | |
_G_fpos_t | |
_IO_FILE | |
_IO_FILE_plus | |
_IO_jump_t | |
_IO_marker | |
__fsid_t | |
__mbstate_t | |
__va_list_tag | |
crfsuite_attribute_t |
An attribute. An attribute consists of an attribute id with its value. |
crfsuite_data_t |
A data set. A data set consists of an array of instances and dictionary objects for attributes and labels. |
crfsuite_evaluation_t |
An overall performance values. |
crfsuite_instance_t |
An instance (sequence of items and labels). An instance consists of a sequence of items and labels. |
crfsuite_item_t |
An item. An item consists of an array of attributes. |
crfsuite_label_evaluation_t |
Label-wise performance values. |
tag_crfsuite_dictionary |
CRFSuite dictionary interface. |
tag_crfsuite_model |
\addtogroup crfsuite_object Object interfaces and utilities. @{ |
tag_crfsuite_params |
CRFSuite parameter interface. |
tag_crfsuite_tagger |
CRFSuite tagger interface. |
tag_crfsuite_trainer |
CRFSuite trainer interface. |
Constants
Statics
_IO_2_1_stderr_ | |
_IO_2_1_stdin_ | |
_IO_2_1_stdout_ | |
stderr | |
stdin | |
stdout | |
sys_errlist | |
sys_nerr |
Functions
_IO_feof⚠ | |
_IO_ferror⚠ | |
_IO_flockfile⚠ | |
_IO_free_backup_area⚠ | |
_IO_ftrylockfile⚠ | |
_IO_funlockfile⚠ | |
_IO_getc⚠ | |
_IO_padn⚠ | |
_IO_peekc_locked⚠ | |
_IO_putc⚠ | |
_IO_seekoff⚠ | |
_IO_seekpos⚠ | |
_IO_sgetn⚠ | |
_IO_vfprintf⚠ | |
_IO_vfscanf⚠ | |
__getdelim⚠ | |
__overflow⚠ | |
__uflow⚠ | |
__underflow⚠ | |
clearerr⚠ | |
clearerr_unlocked⚠ | |
crfsuite_attribute_copy⚠ |
Copy the content of an attribute structure. @param dst The pointer to the destination. @param src The pointer to the source. |
crfsuite_attribute_init⚠ |
Initialize an attribute structure. @param attr The pointer to crfsuite_attribute_t. |
crfsuite_attribute_set⚠ |
Set an attribute and its value. @param attr The pointer to crfsuite_attribute_t. @param aid The attribute identifier. @param value The attribute value. |
crfsuite_attribute_swap⚠ |
Swap the contents of two attribute structures. @param x The pointer to an attribute structure. @param y The pointer to another attribute structure. |
crfsuite_create_instance⚠ |
Create an instance of an object by an interface identifier. @param iid The interface identifier. @param ptr The pointer to \c void* that points to the instance of the object if successful, *ptr points to \c NULL otherwise. @return int \c 1 if this function creates an object successfully, \c 0 otherwise. Note that this is inconsistent with the other CRFsuite API calls. |
crfsuite_create_instance_from_file⚠ |
Create an instance of a model object from a model file. @param filename The filename of the model. @param ptr The pointer to \c void* that points to the instance of the model object if successful, *ptr points to \c NULL otherwise. @return int \c 0 if this function creates an object successfully, \c 1 otherwise. |
crfsuite_create_instance_from_memory⚠ |
Create an instance of a model object from a model in memory. @param data A pointer to the model data. Must be 16-byte aligned. @param size A size (in bytes) of the model data. @param ptr The pointer to \c void* that points to the instance of the model object if successful, *ptr points to \c NULL otherwise. @return int \c 0 if this function creates an object successfully, \c 1 otherwise |
crfsuite_create_tagger⚠ |
Create instances of tagging object from a model file. @param filename The filename of the model. @param ptr_tagger The pointer to \c void* that points to the instance of the tagger object if successful, ptr points to \c NULL otherwise. @param ptr_attrs The pointer to \c void that points to the instance of the dictionary object for attributes if successful, ptr points to \c NULL otherwise. @param ptr_labels The pointer to \c void that points to the instance of the dictionary object for labels if successful, *ptr points to \c NULL otherwise. @return int \c 0 if this function creates an object successfully, \c 1 otherwise. |
crfsuite_data_append⚠ |
Append an instance to the dataset structure. @param data The pointer to crfsuite_data_t. @param inst The instance to be added to the dataset. @return int \c 0 if successful, \c -1 otherwise. |
crfsuite_data_copy⚠ |
Copy the content of a dataset structure. @param dst The pointer to the destination. @param src The pointer to the source. |
crfsuite_data_finish⚠ |
Uninitialize a dataset structure. @param data The pointer to crfsuite_data_t. |
crfsuite_data_init⚠ |
Initialize a dataset structure. @param data The pointer to crfsuite_data_t. |
crfsuite_data_init_n⚠ |
Initialize a dataset structure with the number of instances. @param data The pointer to crfsuite_data_t. @param n The number of instances. |
crfsuite_data_maxlength⚠ |
Obtain the maximum length of the instances in the dataset. @param data The pointer to crfsuite_data_t. @return int The maximum number of items of the instances in the dataset. |
crfsuite_data_swap⚠ |
Swap the contents of two dataset structures. @param x The pointer to a dataset structure. @param y The pointer to another dataset structure. |
crfsuite_data_totalitems⚠ |
Obtain the total number of items in the dataset. @param data The pointer to crfsuite_data_t. @return int The total number of items in the dataset. |
crfsuite_evaluation_accmulate⚠ |
Accmulate the correctness of the predicted label sequence. @param eval The pointer to crfsuite_evaluation_t. @param reference The reference label sequence. @param prediction The predicted label sequence. @param T The length of the label sequence. @return int \c 0 if succeeded, \c 1 otherwise. |
crfsuite_evaluation_clear⚠ |
Reset an evaluation structure. @param eval The pointer to crfsuite_evaluation_t. |
crfsuite_evaluation_finalize⚠ |
Finalize the evaluation result. @param eval The pointer to crfsuite_evaluation_t. |
crfsuite_evaluation_finish⚠ |
Uninitialize an evaluation structure. @param eval The pointer to crfsuite_evaluation_t. |
crfsuite_evaluation_init⚠ |
Initialize an evaluation structure. @param eval The pointer to crfsuite_evaluation_t. @param n The number of labels in the dataset. |
crfsuite_evaluation_output⚠ |
Print the evaluation result. @param eval The pointer to crfsuite_evaluation_t. @param labels The pointer to the label dictionary. @param cbm The callback function to receive the evaluation result. @param user The pointer to the user data that is forwarded to the callback function. |
crfsuite_instance_append⚠ |
Append a pair of item and label to the instance structure. @param seq The pointer to crfsuite_instance_t. @param item The item to be added to the instance. @param label The label to be added to the instance. @return int \c 0 if successful, \c -1 otherwise. |
crfsuite_instance_copy⚠ |
Copy the content of an instance structure. @param dst The pointer to the destination. @param src The pointer to the source. |
crfsuite_instance_empty⚠ |
Check whether the instance has no item. @param seq The pointer to crfsuite_instance_t. @return int \c 1 if the instance has no attribute, \c 0 otherwise. |
crfsuite_instance_finish⚠ |
Uninitialize an instance structure. @param seq The pointer to crfsuite_instance_t. |
crfsuite_instance_init⚠ |
Initialize an instance structure. @param seq The pointer to crfsuite_instance_t. |
crfsuite_instance_init_n⚠ |
Initialize an instance structure with the number of items. @param seq The pointer to crfsuite_instance_t. @param num_items The number of items. |
crfsuite_instance_swap⚠ |
Swap the contents of two instance structures. @param x The pointer to an instance structure. @param y The pointer to another instance structure. |
crfsuite_interlocked_decrement⚠ |
Decrements the value of the integer variable as an atomic operation. @param count The pointer to the integer variable. @return The value after this decrement. |
crfsuite_interlocked_increment⚠ |
Increments the value of the integer variable as an atomic operation. @param count The pointer to the integer variable. @return The value after this increment. |
crfsuite_item_append_attribute⚠ |
Append an attribute to the item structure. @param item The pointer to crfsuite_item_t. @param attr The attribute to be added to the item. @return int \c 0 if successful, \c -1 otherwise. |
crfsuite_item_copy⚠ |
Copy the content of an item structure. @param dst The pointer to the destination. @param src The pointer to the source. |
crfsuite_item_empty⚠ |
Check whether the item has no attribute. @param item The pointer to crfsuite_item_t. @return int \c 1 if the item has no attribute, \c 0 otherwise. |
crfsuite_item_finish⚠ |
Uninitialize an item structure. @param item The pointer to crfsuite_item_t. |
crfsuite_item_init⚠ |
Initialize an item structure. @param item The pointer to crfsuite_item_t. |
crfsuite_item_init_n⚠ |
Initialize an item structure with the number of attributes. @param item The pointer to crfsuite_item_t. @param num_attributes The number of attributes. |
crfsuite_item_swap⚠ |
Swap the contents of two item structures. @param x The pointer to an item structure. @param y The pointer to another item structure. |
ctermid⚠ | |
dprintf⚠ | |
fclose⚠ | |
fdopen⚠ | |
feof⚠ | |
feof_unlocked⚠ | |
ferror⚠ | |
ferror_unlocked⚠ | |
fflush⚠ | |
fflush_unlocked⚠ | |
fgetc⚠ | |
fgetc_unlocked⚠ | |
fgetpos⚠ | |
fgets⚠ | |
fileno⚠ | |
fileno_unlocked⚠ | |
flockfile⚠ | |
fmemopen⚠ | |
fopen⚠ | |
fprintf⚠ | |
fputc⚠ | |
fputc_unlocked⚠ | |
fputs⚠ | |
fread⚠ | |
fread_unlocked⚠ | |
freopen⚠ | |
fscanf⚠ | |
fscanf1⚠ | |
fseek⚠ | |
fseeko⚠ | |
fsetpos⚠ | |
ftell⚠ | |
ftello⚠ | |
ftrylockfile⚠ | |
funlockfile⚠ | |
fwrite⚠ | |
fwrite_unlocked⚠ | |
getc⚠ | |
getc_unlocked⚠ | |
getchar⚠ | |
getchar_unlocked⚠ | |
getdelim⚠ | |
getline⚠ | |
getw⚠ | |
open_memstream⚠ | |
pclose⚠ | |
perror⚠ | |
popen⚠ | |
printf⚠ | |
putc⚠ | |
putc_unlocked⚠ | |
putchar⚠ | |
putchar_unlocked⚠ | |
puts⚠ | |
putw⚠ | |
remove⚠ | |
rename⚠ | |
renameat⚠ | |
rewind⚠ | |
scanf⚠ | |
scanf1⚠ | |
setbuf⚠ | |
setbuffer⚠ | |
setlinebuf⚠ | |
setvbuf⚠ | |
snprintf⚠ | |
sprintf⚠ | |
sscanf⚠ | |
sscanf1⚠ | |
tempnam⚠ | |
tmpfile⚠ | |
tmpnam⚠ | |
tmpnam_r⚠ | |
ungetc⚠ | |
vdprintf⚠ | |
vfprintf⚠ | |
vfscanf⚠ | |
vfscanf1⚠ | |
vprintf⚠ | |
vscanf⚠ | |
vscanf1⚠ | |
vsnprintf⚠ | |
vsprintf⚠ | |
vsscanf⚠ | |
vsscanf1⚠ |
Type Definitions
Unions
__mbstate_t__bindgen_ty_1 |