O'Reilly logo
  • Kyaw Moe Aung thinks this is interesting:

The formality measure is called F-Measure. This measure is calculated as follows:

  • Formal words (f) are nouns, adjectives, prepositions, and articles
  • Contextual words (c) are pronouns, verbs, adverbs, and interjections
  • N = sum of (f + c + conjunctions)
  • Formality Index = 50((sum of f – sum of c / N) + 1)

From

Cover of Mastering Machine Learning with R

Note

Formality measurement