mwparserfromhell
frawk
mwparserfromhell | frawk | |
---|---|---|
5 | 27 | |
708 | 1,234 | |
- | - | |
6.6 | 6.4 | |
18 days ago | 3 months ago | |
Python | Rust | |
MIT License | Apache License 2.0 |
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.
mwparserfromhell
- FLaNK AI Weekly for 29 April 2024
-
Processing Wikipedia Dumps With Python
There's also https://github.com/earwig/mwparserfromhell, if you don't want to roll your own.
-
[Python] How can I clean up Wikipedia's XML backup dump to create dictionaries of commonly used words for multiple languages?
In particular what you're looking at is not XML but wikitext. I found a discussion on stackoverflow about solving the same problem of getting text from wikitext. Seems like the most promising solution in Python since you already have the dump is to run each page through mwparserfromhell. According to the top stackoverflow answer you could use something like
-
How can I clean up Wikipedia's XML backup dump to create dictionaries of commonly used words for multiple languages?
Thank you so much! I was actually talking about the markup language within the text. Turns out it's proprietary to WikiMedia and user lowerthansound kindly suggested I use this: https://github.com/earwig/mwparserfromhell
frawk
- FLaNK AI Weekly for 29 April 2024
- Frawk: An efficient Awk-like programming language
- Frawk: An efficient Awk-like programming language. (2021)
- The Awk Programming Language, Second Edition
- The State of the Awk (2020)
-
Awk: Power and Promise of a 40 yr old language (2021)
It does, just go to the "Benchmarks" link: https://github.com/ezrosent/frawk/blob/master/info/performan...
-
What's the software you couldn't live without?
and frawk for good measure
-
What is yay situation?
frawk ["frawk" in aur] - a fancier awk with support for CSV files
- Fd: A simple, fast and user-friendly alternative to 'find'
- Command-line Tools can be 235x Faster than your Hadoop Cluster
What are some alternatives?
wikitextparser - A Python library to parse MediaWiki WikiText
clojure-rust-graalvm - An example of Clojure program calling a Rust library, all combined into one executable using GraalVM.
archwiki - MediaWiki used on Arch Linux websites (read-only mirror)
awka - Revive awka - Awk to C Compiler
WiktionaryParser - A Python Wiktionary Parser
pawk - PAWK - A Python line processor (like AWK)
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.
awk - One true awk
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.
tui-rs - Build terminal user interfaces and dashboards using Rust
isbntools - python app/framework for 'all things ISBN' including metadata, descriptions, covers...
makesure - Simple task/command runner with declarative goals and dependencies