{
  "generator": {
    "matra": "0.3.0",
    "udpipe_model": {
      "name": "english-ewt-ud-2.5-191206",
      "sha256": "784bd0fa85e3d831fd02a55290d0acfd05c953159dc38cc33d52e1b28add9957"
    }
  },
  "page": "introduction.md",
  "paragraphs": [
    {
      "compression_ratio": 0.5305,
      "kind": "paragraph",
      "lexical_density": 0.4923,
      "readability_grade": 9.2644,
      "sentences": 4,
      "text": "matra reports the structure of text and measurements over it. It parses a document into a typed tree of sections, paragraphs, sentences, and tokens, measures that tree, and ranks what is in it. Every value it returns is structure or a number over structure. What any of it means for your purpose is your code's decision, which is what makes the output reusable across purposes.",
      "words": 66
    },
    {
      "compression_ratio": null,
      "kind": "list_item",
      "lexical_density": 0.8,
      "readability_grade": 11.8933,
      "sentences": 2,
      "text": "Structure. Sections, paragraphs, sentences, and full CoNLL-U tokens, plus the structural primitives read off each dependency tree: negations, modals, clausal complements, root adverbials, Hearst pairs, and the root clause's mood.",
      "words": 32
    },
    {
      "compression_ratio": null,
      "kind": "list_item",
      "lexical_density": 0.7073,
      "readability_grade": 13.6278,
      "sentences": 3,
      "text": "Measures. Readability, lexical density, and compression ratio per paragraph; counts, sentence length, vocabulary TTR, nominalization ratio, and passive ratio per document. Every document also records where it came from: the parser and its model, and a digest of the analysed text.",
      "words": 41
    },
    {
      "compression_ratio": null,
      "kind": "list_item",
      "lexical_density": 0.9167,
      "readability_grade": 9.3667,
      "sentences": 2,
      "text": "Extraction. Two extractive summarizers (TF-IDF, TextRank) and two keyphrase extractors (RAKE, YAKE).",
      "words": 13
    },
    {
      "compression_ratio": null,
      "kind": "list_item",
      "lexical_density": 0.6667,
      "readability_grade": 13.2288,
      "sentences": 2,
      "text": "Semantic clusters. Sentence embeddings grouped by cosine similarity, behind the model2vec feature, carrying the identity of the model that produced them.",
      "words": 21
    },
    {
      "compression_ratio": null,
      "kind": "paragraph",
      "lexical_density": 0.4,
      "readability_grade": null,
      "sentences": 1,
      "text": "The same analysis from Rust, and from the command line:",
      "words": 10
    },
    {
      "compression_ratio": null,
      "kind": "paragraph",
      "lexical_density": 0.5208,
      "readability_grade": 7.1208,
      "sentences": 3,
      "text": "All three return the same shape: a struct in Rust, a read-only Document that reads as a dict in Python, a table or --json at the command line. The second sentence in the example is passive, and amendments carries the relation nsubj:pass. matra records that and stops there.",
      "words": 50
    },
    {
      "compression_ratio": null,
      "kind": "paragraph",
      "lexical_density": 0.5333,
      "readability_grade": 8.7633,
      "sentences": 3,
      "text": "Understand the model. Concepts covers the document tree, the four tiers, and what a structural primitive is. Situation model covers what the output is for and what it deliberately withholds.",
      "words": 30
    },
    {
      "compression_ratio": null,
      "kind": "paragraph",
      "lexical_density": 0.625,
      "readability_grade": 6.2133,
      "sentences": 3,
      "text": "Write against it. Programming model is the surface: Input, Engine, ports, bounds, and what Python exposes. Pragmatics answers the choices you have to make.",
      "words": 24
    },
    {
      "compression_ratio": null,
      "kind": "paragraph",
      "lexical_density": 0.6667,
      "readability_grade": null,
      "sentences": 2,
      "text": "Get it running. Installation, then Rust, Python, or CLI.",
      "words": 9
    },
    {
      "compression_ratio": null,
      "kind": "paragraph",
      "lexical_density": 0.7333,
      "readability_grade": 7.0017,
      "sentences": 2,
      "text": "Look something up. What matra gives you lists every field and function the pipeline returns.",
      "words": 15
    }
  ]
}
