Function crfsuite_sys::crfsuite_data_append [] [src]

pub unsafe extern "C" fn crfsuite_data_append(
    data: *mut crfsuite_data_t,
    inst: *const crfsuite_instance_t
) -> c_int

Append an instance to the dataset structure.

  • data The pointer to crfsuite_data_t.
  • inst The instance to be added to the dataset.

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