A library for performing automatic detection of assessment classes of Wikipedia articles.
Project description
# 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.
Install: pip install wikiclass
Models: https://github.com/wiki-ai/articlequality/tree/master/models
Documentation: http://pythonhosted.org/wikiclass
## Basic usage
>>> import articlequality >>> from revscoring import Model >>> >>> scorer_model = Model.load(open("models/enwiki.nettrom_wp10.gradient_boosting.model", "rb")) >>> >>> text = "I am the text of a page. I have a <ref>word</ref>" >>> articlequality.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
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
Built Distribution
File details
Details for the file articlequality-0.3.2.tar.gz
.
File metadata
- Download URL: articlequality-0.3.2.tar.gz
- Upload date:
- Size: 25.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6f760fbd733c6cc2be6b8da9386546b814a6931e68d1c5963e7f28e9272d38f |
|
MD5 | 59d32b83ab721b7a4647d254900c75b7 |
|
BLAKE2b-256 | 95553db239aec1b819aaa8feea892f73802ad6f617e890251666f43aeb376c1c |
File details
Details for the file articlequality-0.3.2-py3.5.egg
.
File metadata
- Download URL: articlequality-0.3.2-py3.5.egg
- Upload date:
- Size: 97.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2c2c6d8d258509b45e8bd5b4d6433dc2fe19dd24fc7b89343c426d06320b8aa |
|
MD5 | 89662131a92446ab4d88c0cb8ea88928 |
|
BLAKE2b-256 | eb8efa0916a617141fbcf85e64bb5ab8bd208ea11bb0de4a2148844ef95383fb |