A lot of information about processes is today available on internet, then it is possible to retrieve documents and produce a digital repository. Thanks to techniques of text mining is possible to extract information useful to reach the task of define a statistical index to describe the quality and efficiency in law. It is also possible to produce an intelligent knowledge base about facts and judgments. In this paper we propose an useful tool to fulfill the essential constitutional principle in the article 111 of Italian Constitution, that concerns the "reasonable duration" of the process, realising also the precept of the art. 6 of the European Convention of Human Rights. This work aims to open some new conjoint debates about the study and application of statistical and computational methods to web data on new forensic topics