Skip to main content
Språkbanken Text is a part of Språkbanken.

swe-readability-sparv-lix

Standard reference Information

Analysis citation Information

Språkbanken Text (2018). swe-readability-sparv-lix (updated: 2018-03-28). [Analysis]. Språkbanken Text.
BibTeX
Annotation of Swedish texts with LIX values which indicate the difficulty of the texts

LIX (läsbarhetsindex) (Björnsson (1968)) is a readability measure based on average word count per sentence and ratio of long words (exceeding six letters). The value is calculated as O / M + L x 100 / O, where O = word count, M = sentence count and L = long word count.

Example

This analysis is used with Sparv. Check out Sparv's quick start guide to get started!

To use this analysis, add the following line under export.annotations in the Sparv corpus configuration file:

- <text>:readability.lix  # LIX values for text chunks

For more info on how to use Sparv, check out the Sparv documentation.

Example output:

<text lix="6.00">
  <token>Det</token>
  <token>här</token>
  <token>är</token>
  <token>en</token>
  <token>enkel</token>
  <token>mening</token>
  <token>.</token>
</text>
<text lix="44.81">
  <token>LIX</token>
  <token>(</token>
  <token>Björnsson</token>
  <token>,</token>
  <token>1968</token>
  <token>)</token>
  <token>är</token>
  <token>ett</token>
  <token>läsbarhetsvärde</token>
  <token>beräknat</token>
  <token></token>
  <token>genomsnittligt</token>
  <token>antal</token>
  <token>ord</token>
  <token>per</token>
  <token>mening</token>
  <token>och</token>
  <token>andel</token>
  <token>långa</token>
  <token>ord</token>
  <token>(</token>
  <token>över</token>
  <token>sex</token>
  <token>bokstäver</token>
  <token>långa</token>
  <token>)</token>
  <token>.</token>
</text>

Type

  • Analysis

Task

  • readability measures

Unit

  • text

Tool

Sparv

Created

2018-03-28

Updated

2018-03-28

Contact

Språkbanken Text
sb-info@svenska.gu.se