Storywrangler
Navigation

Semantic Ngrams

get /wikimedia/semantic-ngrams

Per-word labMT counts for one country and day — the word shift graph's input.

Returns the row for (country, date): the daily lexicon scores plus count, a map of labMT word → pageview-weighted count for every labMT word that appeared that day.

Query Parameters

country string

Country name as stored in the data (e.g. 'United States'), or 'All' for the global pageview-weighted corpus

date string required

Date (YYYY-MM-DD)

granularity string

daily, weekly, or monthly

curl -X GET https://api.storywrangler.uvm.edu/wikimedia/semantic-ngrams \