Press language metrics
get_lexical_metricsText length, lexical richness and readability by country/newspaper/year. Metrics are precomputed; readability is French-specific and excludes other languages. Missing values are disclosed. Compare distributions as descriptive evidence.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_lexical_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exact | No | AND values. Fields: subject/spatial/author/language/country/newspaper/topic_id/min_prob/scored_by; country_raw=whole cell; polarity:<model>. | |
| top_n | No | Groups returned when grouping by newspaper (default 20, max 60) | |
| country | No | Exact country name (accents optional) | |
| date_to | No | ||
| keyword | No | ||
| subject | No | Exact tag | |
| group_by | No | year (default) | newspaper | country | |
| date_from | No | Inclusive date bounds: YYYY[-MM[-DD]] | |
| newspaper | No | Newspaper/periodical substring | |
| hijri_year | No | ||
| hijri_month | No | ||
| keyword_mode | No | literal: the whole keyword as one substring | |
| keyword_aliases | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| view | Yes | ||
| groups | Yes | ||
| filters | Yes | ||
| metrics | Yes | ||
| group_by | Yes | ||
| total_matches | Yes | ||
| readability_excluded | No |