import pywikibot
import mwparserfromhell
import wikitextparser
import os
numbers = {
"singular": "s",
"plural": "p",
}
forms = {
"indefinite": "indef",
"definite": "def",
"definite
(subject form)": "sbjv",
"definite
(object form)": "objv",
"vocative form": "voc",
"count form": "count"
}
# Connect to Wiktionary (according to user profile)
site = pywikibot.Site()
"""Returns a list of dictionaries; each dictionary looks like this:
{ "lemma":
"forms": {