home << dhlab reference << dhlab.api.dhlab_api
word_paradigm#
from dhlab.api.dhlab_api import word_paradigm
- word_paradigm(word, lang='nob')[source]#
Find paradigms for a given
word
form.Call the API
BASE_URL
endpoint/paradigm
Example:
word_paradigm('spiste') # [['adj', ['spisende', 'spist', 'spiste']], # ['verb', ['spis', 'spise', 'spiser', 'spises', 'spist', 'spiste']]]
- Parameters:
word (str) – any word string
lang (str) – either “nob” or “nno”