Function crfsuite_sys::crfsuite_evaluation_accmulate [] [src]

pub unsafe extern "C" fn crfsuite_evaluation_accmulate(
    eval: *mut crfsuite_evaluation_t,
    reference: *const c_int,
    prediction: *const c_int,
    T: c_int
) -> c_int

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.