LIX is a readability measure indicating the difficulty of reading a Swedish text (could possibly be used with some other languages too, try it out). This is a basic function that calculates the LIX value of the text you enter.