Accuracy testing/stats

I am looking for a way to test the accuracy of a function and/or track it's accuracy through developement.

It is a function that tries to return all the japanese words in a piece of japanese text. This is a hard and fuzzy problem because japanese doesn't use spaces and the correct separation of words might be debatable.

So instead of focusing on the exact output of the function I want to test it's accuracy on different input. I would also like to be able to track the accuracy stats overtime as I develop my library.

Is there any libraries that I could use to do this? Or any libraries that could help me implement simple tests using accuracy?

It would be great if there was a library like criterion for making accuracy benchmarks.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.