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.
eval
The pointer to crfsuite_evaluation_t.reference
The reference label sequence.prediction
The predicted label sequence.T
The length of the label sequence.
Returns int \c 0 if succeeded, \c 1 otherwise.