A free implementation of the C-Value algorithm based on this paper http://personalpages.manchester.ac.uk/staff/sophia.ananiadou/ijodl2000.pdf