[][src]Function crfsuite_sys::crfsuite_instance_append

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.

  • seq The pointer to crfsuite_instance_t.
  • item The item to be added to the instance.
  • label The label to be added to the instance.

Returns int \c 0 if successful, \c -1 otherwise.