Skip to content

julienijs/Type-Token-Ratio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Script for computing the (normalized) type-token ratio of a directory of texts.

Important: calculate_normalized_ttr(text, case_sensitive=False) --> automatically set to False, which means that the analysis is not case sensitive (every word is set to lower case).