Wikinflection
Code for the paper: Wikinflection: Massive semi-supervised generation of multilingual inflectional corpus from Wiktionary (Metheniti and Neumann, 2018)
Install / Use
/learn @lenakmeth/WikinflectionREADME
Wikinflection
Find the extracted, ready-to-use corpus at github.com/lenakmeth/Wikinflection-Corpus.
Massive semi-supervised generation of multilingual inflectional corpus from Wiktionary. Corresponding publication: Metheniti, E., & Neumann, G. (2018, December). Wikinflection: Massive Semi-Supervised Generation of Multilingual Inflectional Corpus from Wiktionary. In Proceedings of the 17th International Workshop on Treebanks and Linguistic Theories (TLT 2018), December 13–14, 2018, Oslo University, Norway (No. 155, pp. 147-161). Linköping University Electronic Press.
Getting Started
- Download the XML wiki dump for the Englsih version of Wiktionary.
- Clone the project.
Prerequisites
- Python3
- BeautifulSoup
- Pandas
Run
From command line: python main.py [dump file]
Notes
- The first time running, module
pull_templates.pywill pull 7K text files from en.wiktionary.org. This process will take several hours, because of pauses between requests, and will use up ~210MB. - The output will be a .JSON file with inflectional paradigms, evaluated and corrected, separated per lemma, then separated by template ID. Every word in the inflectional paradigm has: template ID, [list of morphological features], POS, [prefixes, suffixes, [infixes]], stem.
- Currently, there are problems with the HTML table parsing (merged cells, nested tables in tables), and as a result not all features are identified per wordform. This is a known issue and is under work.
Authors
- Eleni Metheniti - Initial work - lenakmeth
Related Skills
node-connect
339.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
