Skip to content

facuzeta/coherence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Coherence Algorithm

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.

On-line use

It is available to use online in the site: http://speech-tools.liaa.dc.uba.ar/coherence/

Install

The easy way to install is using pip, doing:

pip install git+https://github.com/facuzeta/coherence/

It takes some time becouse it has to download the trained models ( more than > 30 MB)

Example

After install...

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/

How does it work?

Citation

Bedi G, Carrillo F, Cecchi GA, Slezak DF, Sigman M, Mota NB, Ribeiro S, Javitt DC, Copelli M, Corcoran CM. Automated analysis of free speech predicts psychosis onset in high-risk youths. npj Schizophrenia. 2015 Aug 26;1:15030.

About

Coherence Algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages