See also an explanation of the method, a more up to date paper and the source code.

Higher level: tuning documents