Friday, December 5, 2008

Wrapping SRILM ngram in OCaml

Learned the hard way that we return a concrete type with

CAMLreturn (Val_int(num_clients))

-- not with (caml_copy_nativeint, or _int32, or _int64) -- thanks to flux of Findland on #ocaml!

No comments: