lingfeat
lingfeat copied to clipboard
Wrong formula for the Coleman–Liau index
Hi Lee,
There are two places wrong in the formula.
First, the original Coleman-Liau counts the number of letters per 100 words. Whereas in the code, it counts the number of tokens per 100 words.
Second, it is wrong to account for "per 100 words" by dividing the number by 100. Rather, it should be $$n_{letters} / (n_{tokens} / 100)$$
As a result, the produced score is always around -15.0.
My installed lingfeat version is 1.00b19. Have you fixed it up ?