Get Top Ngrams
get /wikimedia/top-ngrams
Get top Wikipedia n-grams.
Query Parameters
dates
string dates2
locations
string Entity ID (e.g. 'wikidata:Q30') or local ID (e.g. 'en')
granularity
string n
integer N-gram size (1 = unigrams, 2 = bigrams). Only used when endpoint_schema.ngram_sizes is set.
limit
integer Response
data
arrayN-gram frequency entries sorted by count descending.
metadata
objectRequest metadata echoed back
curl -X GET http://localhost:8000/wikimedia/top-ngrams \