Function crfsuite_sys::crfsuite_create_instance_from_file [] [src]

pub unsafe extern "C" fn crfsuite_create_instance_from_file(
    filename: *const c_char,
    ptr: *mut *mut c_void
) -> c_int

Create an instance of a model object from a model file. @param filename The filename of the model. @param ptr The pointer to \c void* that points to the instance of the model object if successful, *ptr points to \c NULL otherwise. @return int \c 0 if this function creates an object successfully, \c 1 otherwise.