A stylometric metric is any function
that maps a text string to a real scalar capturing some surface property of writing style. VOICE treats each metric as a distribution over a corpus: given a set of texts,
Metrics are organised into four groups. Because metrics within the same group are highly correlated (they characterise the same underlying linguistic object from different angles), the evaluation suite averages within groups before aggregating across them, preventing any single dimension from dominating the alignment score through sheer metric count.
Moments of the per-word character length distribution.
| Metric | Description |
|---|---|
avg_word_length |
Mean word length |
std_word_length |
Standard deviation of word length |
skew_word_length |
Skewness of word length |
kurtosis_word_length |
Kurtosis of word length |
Type–token and word statistics measuring lexical diversity.
| Metric | Description |
|---|---|
type_token_ratio |
Unique tokens / total tokens |
moving_avg_type_token_ratio |
TTR averaged over a sliding window (MATTR) |
hapax_legomena_ratio |
Fraction of words appearing exactly once |
dis_legomena_ratio |
Fraction of words appearing exactly twice |
tri_legomena_ratio |
Fraction of words appearing exactly three times |
| Metric | Description |
|---|---|
function_word_ratio |
Proportion of tokens drawn from a closed function-word list |
Type–token ratio and MATTR computed over character
| Metric | Description |
|---|---|
char_{n}gram_type_token_ratio |
Character |
char_{n}gram_moving_avg_type_token_ratio |
Character |