morpheme#




Functions#

get_morphemes_json

Get the morphemes.json file.

get_morphemes_json()#

async rootski.main.endpoints.morpheme.get_morphemes_json()[source]#

Get the morphemes.json file. This is used on the frontend as an index of morphemes. This endpoint allows the frontend to fetch all morphemes along with their data in one round trip.

One use of this is that it makes the performace of the breakdown widget very fast.

NOTE: if the morphemes.json file does not exist locally, it will be created here and cached on disk.

Query parameters:

force (boolean): forces regeneration of the morphemes.json file