Crate crfsuite_sys

Crate crfsuite_sys 

Source

Structs§

__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
tag_crfsuite_params
CRFSuite parameter interface.
tag_crfsuite_tagger
CRFSuite tagger interface.
tag_crfsuite_trainer
CRFSuite trainer interface.

Constants§

CRFSUITEERR_INCOMPATIBLE
CRFSUITEERR_INTERNAL_LOGIC
CRFSUITEERR_NOTIMPLEMENTED
CRFSUITEERR_NOTSUPPORTED
CRFSUITEERR_OUTOFMEMORY
CRFSUITEERR_OVERFLOW
CRFSUITEERR_UNKNOWN
CRFSUITE_COPYRIGHT
CRFSUITE_SUCCESS
CRFSUITE_VERSION

Functions§

crfsuite_attribute_copy
Copy the content of an attribute structure.
crfsuite_attribute_init
Initialize an attribute structure.
crfsuite_attribute_set
Set an attribute and its value.
crfsuite_attribute_swap
Swap the contents of two attribute structures.
crfsuite_create_instance
Create an instance of an object by an interface identifier.
crfsuite_create_instance_from_file
Create an instance of a model object from a model file.
crfsuite_create_instance_from_memory
Create an instance of a model object from a model in memory.
crfsuite_create_tagger
Create instances of tagging object from a model file.
crfsuite_data_append
Append an instance to the dataset structure.
crfsuite_data_copy
Copy the content of a dataset structure.
crfsuite_data_finish
Uninitialize a dataset structure.
crfsuite_data_init
Initialize a dataset structure.
crfsuite_data_init_n
Initialize a dataset structure with the number of instances.
crfsuite_data_maxlength
Obtain the maximum length of the instances in the dataset.
crfsuite_data_swap
Swap the contents of two dataset structures.
crfsuite_data_totalitems
Obtain the total number of items in the dataset.
crfsuite_evaluation_accmulate
Accmulate the correctness of the predicted label sequence.
crfsuite_evaluation_clear
Reset an evaluation structure.
crfsuite_evaluation_finalize
Finalize the evaluation result.
crfsuite_evaluation_finish
Uninitialize an evaluation structure.
crfsuite_evaluation_init
Initialize an evaluation structure.
crfsuite_evaluation_output
Print the evaluation result.
crfsuite_instance_append
Append a pair of item and label to the instance structure.
crfsuite_instance_copy
Copy the content of an instance structure.
crfsuite_instance_empty
Check whether the instance has no item.
crfsuite_instance_finish
Uninitialize an instance structure.
crfsuite_instance_init
Initialize an instance structure.
crfsuite_instance_init_n
Initialize an instance structure with the number of items.
crfsuite_instance_swap
Swap the contents of two instance structures.
crfsuite_interlocked_decrement
Decrements the value of the integer variable as an atomic operation.
crfsuite_interlocked_increment
Increments the value of the integer variable as an atomic operation.
crfsuite_item_append_attribute
Append an attribute to the item structure.
crfsuite_item_copy
Copy the content of an item structure.
crfsuite_item_empty
Check whether the item has no attribute.
crfsuite_item_finish
Uninitialize an item structure.
crfsuite_item_init
Initialize an item structure.
crfsuite_item_init_n
Initialize an item structure with the number of attributes.
crfsuite_item_swap
Swap the contents of two item structures.

Type Aliases§

_bindgen_ty_1
crfsuite_dictionary_t
CRFSuite dictionary interface.
crfsuite_logging_callback
Type of callback function for logging.
crfsuite_model_t
CRFSuite model interface.
crfsuite_params_t
CRFSuite parameter interface.
crfsuite_tagger_t
CRFSuite tagger interface.
crfsuite_trainer_t
CRFSuite trainer interface.
floatval_t
Type of a float value.