Coherence Algorithm used in Automated analysis of free speech predicts psychosis onset in high-risk youths (download the paper) to study the speech coherence level. For now, the algorithm works in English but it is very easy to adapt into others languages.
It is available to use online in the site: On-line usehttp://speech-tools.liaa.dc.uba.ar/coherence/
The easy way to install is using pip, doing: Install
pip install git+https://github.com/facuzeta/coherence/
It takes some time becouse it has to download the trained models ( more than > 30 MB)
import coherence some_large_text= "The campaign brought ... I began by making up my mind..." coh = coherence.coherenceAnalisys() res = coh.analysis_text(some_large_text)
res is the dictionary with the statistics, you can see the result using the on-line app http://speech-tools.liaa.dc.uba.ar/coherence/