Readability score object

The readability score represents the result of executing a Readability model with a specific language code and wiki revision ID.

Example

{
   "model_name":"readability",
   "model_version":"2",
   "wiki_db":"enwiki",
   "revision_id":123456,
   "output":{
      "prediction":false,
      "probabilities":{
         "true":0.4793056845664978,
         "false":0.5206943154335022
      },
      "fk_score":8.277095534538086
   }
}

Schema

model_name

required string

The model that generated the output.
model_version

required string

The version of the model being used.
wiki_db

required string

String identifying the target Wiki.
revision_id

required integer

Integer representing the Wiki revision id.
prediction

required boolean

Boolean decision result.
probabilities

required

map

Map structure representing the predicted probability of being hard to read (label: true) and not hard to read (label: false).
fk_score

required

float

Flesch–Kincaid score approximation.