Skip to main content

# Wikipedia article quality classification

This library provides a set of utilities for performing automatic detection of assessment classes of Wikipedia articles. For more information, see the full documentation at http://pythonhosted.org/wikiclass.

Compatible with Python 3.x only. Sorry.

## Basic usage

>>> import wikiclass
>>> from revscoring.scorer_models import MLScorerModel
>>>
>>> scorer_model = MLScorerModel.load(open("models/enwiki.wp10.rf.model", "rb"))
>>>
>>> text = "I am the text of a page.  I have a <ref>word</ref>"
>>> wikiclass.score(scorer_model, text)
{'prediction': 'stub',
 'probability': {'stub': 0.27156163795807853,
                 'b': 0.14707452309674252,
                 'fa': 0.16844898943510833,
                 'c': 0.057668704007171959,
                 'ga': 0.21617801281707663,
                 'start': 0.13906813268582238}}

## Authors * Aaron Halfaker – https://github.com/halfak * Morten Warncke-Wang – http://www-users.cs.umn.edu/~morten

Metadata

Release files for wikiclass 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wikiclass 0.3.2
File Size Uploaded
wikiclass-0.3.2.tar.gz 18.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wikiclass 0.3.2
File Interpreter ABI Platform
wikiclass-0.3.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 59.0 kB

Release files / wikiclass-0.3.2.tar.gz

Download URL wikiclass-0.3.2.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
95d751d90bdadc6384794eeaa08427a9cd848cf48acb79228083f07dea59cb85
BLAKE2b-256 checksum
How to use checksums
512a273f360b70422f774c0a61bd7564026944fc6c93755bf4ccb21acdb7445c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / wikiclass-0.3.2-py2.py3-none-any.whl

Download URL wikiclass-0.3.2-py2.py3-none-any.whl
Size 41.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2203e6342649873af824de0ba05be4754b72e386bbb8f96beefbf095ed232715
BLAKE2b-256 checksum
How to use checksums
0ae606bb912d3dcc37a23bc3335cde347e902ae8846a7418c27910cc90e1cb28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page