Function crfsuite_sys::crfsuite_instance_append [] [src]

pub unsafe extern "C" fn crfsuite_instance_append(
    seq: *mut crfsuite_instance_t,
    item: *const crfsuite_item_t,
    label: c_int
) -> c_int

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.