rspeer / wiki2text Goto Github PK
View Code? Open in Web Editor NEWExtract a plain text corpus from MediaWiki XML dumps, such as Wikipedia.
License: MIT License
Extract a plain text corpus from MediaWiki XML dumps, such as Wikipedia.
License: MIT License
Would be nice if this was installable through nimble install wiki2text
Hi,
When I use the command given below on the terminal opened at the path given below I get an error. Could you please help me out.
path - /home/user/lol/nim-0.18.0
command used - bunzip2 -c wikipedia2text-toparticles.xml.bz2 | ./wiki2text > enwiki.txt
error - bash: ./wiki2text: No such file or directory
Hi,
Do you have any idea why the program could output an empty file?
I ran the command like written in the README:
bunzip2 -c enwiki-DATE-pages-articles.xml.bz2 | ./wiki2text > enwiki.txt
Where the .bz2 file is the dump of all abstracts of Wikipedia pages:
It's called enwiki-latest-abstract.xml.gz in the following link https://dumps.wikimedia.org/enwiki/latest/.
I'm working on Windows 10.
It might be helpful to note that the program DID work on a small file containing only one wikipedia page, but as said above did not work on the big dump (zipped it was about 500M, unzipped around 5G).
Thanks!
Hello,
First thank you for this project.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.