Skip to main content

Extracts body text from MediaWiki wikitext by stripping off templates, html tags, tables, headers, etc.

Project description

https://travis-ci.org/danmichaelo/mwtextextractor.png?branch=master https://coveralls.io/repos/danmichaelo/mwtextextractor/badge.png

mwtextextractor extracts simple body text from MediaWiki wikitext by stripping off templates, html tags, tables, headers, etc. The extracted text can be used for word counting.

Example:

from mwtextextractor import get_body_text
print get_body_text('Lorem {{ipsum}} dolor')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mwtextextractor-0.1.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file mwtextextractor-0.1.tar.gz.

File metadata

File hashes

Hashes for mwtextextractor-0.1.tar.gz
Algorithm Hash digest
SHA256 c55b2dfa88701ee5789472e3fd70728b0d9ca8feb6de68bcc2b91828d54a7c33
MD5 edfaddd255918480a2c67ccc789e7423
BLAKE2b-256 f25aad65fffcc2dc4fcc42b78892373130079b020f1c10e4da23d92fec1bd524

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page