wiktextract
WiktionaryParser
wiktextract | WiktionaryParser | |
---|---|---|
7 | 2 | |
704 | 355 | |
- | - | |
9.8 | 0.0 | |
8 days ago | 4 months ago | |
Python | Python | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wiktextract
- Wiktionary dump file parser and multilingual data extractor
- How to Download All of Wikipedia onto a USB Flash Drive
-
I built a dictionary app even with more than and300 apps available at AppStore
Great work
I'm working on similar dictionary app and found wiktionary insanely usable as dictionary source.
Here is one more project aiming to make wiktionary data usable as json data structure: https://github.com/tatuylonen/wiktextract.
It has a link to a site https://kaikki.org/ which hosts dictionary data dumps.
-
Dynamically generating minimal pair decks for Anki
Hm, that would be a good idea... if I didn't have to download so much data (over 20GB for just audio?!). But, looking at the Python library that processed those dumps (https://github.com/tatuylonen/wiktextract), which is more manageable, using it would involve getting the WikiMedia dump file for every word on the list, then parsing them for the relevant data and what follows is mostly the same, except I end up with a bunch of cached files.
-
What are some of the best digital free dictionaries available online (even for commercial use)?
Many parsers are available. https://github.com/tatuylonen/wiktextract
-
Best Approach to importing a languages dictionary
I'd probably try pulling from Wiktionary, there looks to be a Python package that can do it here.
-
This is not perfect but it's a start
And the json is built with https://github.com/tatuylonen/wiktextract whom I have to thank
WiktionaryParser
-
I spent the 2 weeks building a complex data parsing program for a data project and today I found out that such a library already exists.
Today I just randomly searched up Wiktionary parser and lo and behold a perfectly working library appears in the search results. Yea all my problems are solved, but I'm empty inside. I could've just Googled and save my 2 weeks worth of effort for the rest of the project.
-
[UPDATE] Here's the transcript of the 1781 most-used German Nouns according to a 4.2 million word corpus research performed by Routledge
Haha no doing them by hand would be way too tedious. I used this library to scrape Wiktionary and queried every word in your Noun list. Note that some items like "die Leute" don't have a plural.
What are some alternatives?
Maat - Validation and transformation library powered by deductive ascending parser. Made to be extended for any kind of project.
mwparserfromhell - A Python parser for MediaWiki wikicode
trankit - Trankit is a Light-Weight Transformer-based Python Toolkit for Multilingual Natural Language Processing
Mediawiker - A plugin for Sublime Text editor that adds possibility to use it as Wiki Editor on MediaWiki-based sites like Wikipedia and many other.
laserembeddings - LASER multilingual sentence embeddings as a pip package
pywikibot - A Python library that interfaces with the MediaWiki API. This is a mirror from gerrit.wikimedia.org. Do not submit any patches here. See https://www.mediawiki.org/wiki/Developer_account for contributing.
zim-tools - Various ZIM command line tools
MediaWiki-Tools - Tools for getting data from MediaWiki websites
Kotoba - Quickly search the built-in iOS dictionary to see definitions of words. Collect words you want to remember.
wikiteam - Tools for downloading and preserving wikis. We archive wikis, from Wikipedia to tiniest wikis. As of 2023, WikiTeam has preserved more than 350,000 wikis.
browsertrix-crawler - Run a high-fidelity browser-based crawler in a single Docker container
pydantic - Data validation using Python type hints