-
Notifications
You must be signed in to change notification settings - Fork 11
Python API
jyckle edited this page Dec 3, 2018
·
1 revision
Description: Get a list of languages
{}
{
"languages": [English, Spanish]
}
Description: Get the full list of paradigms for a given language
{
"language_name": "English"
}
{
"paradigms": [noun1, verb1, noun2, verb2]
}
Description: Get all roots of a specified paradigm
{
"paradigm_name": Verb
}
{
"roots": [run, jump, crawl]
}
Description: Get all word forms of a specified root
{
"paradigm_root": run
}
{
"word_data": {root: run, plural: runs, continuous: running}
}
Description: Get all standard slots of a specified paradigm
{
"paradigm_name": verb
}
{
"paradigm_slots": {root, plural, continuous}
}
Description: Add a new language
{
"language_name": English
}
OK or error
Description: Add a new paradigm
{
"paradigm_name": English,
"slots": [root, past, present, future]
}
OK or error
Description: Add a new set of words to a paradigm
{
"root_word": run,
"words": [runs, running, ran]
}
OK or error