Last active
January 18, 2017 22:34
-
-
Save halfak/1a0a9e0c754e12f2686a2eaa8046667d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mkdir venv | |
$ cd venv | |
$ virtualenv 3.4 -p $(which python3) --system-site-packages | |
$ cd ~ | |
$ source ~/venv/3.4/bin/activate | |
$ mkdir projects | |
$ cd projects | |
$ git clone https://jonasagx@github.com/wiki-ai/revscoring | |
$ cd revscoring | |
$ python -m nltk.downloader stopwords | |
$ pip install -r requirements.txt | |
$ pip install revscoring==1.3.4 | |
$ cd .. | |
$ git clone https://jonasagx@github.com/wiki-ai/editquality | |
$ cd editquality | |
$ make datasets/enwiki.labeled_revisions.20k_2015.json | |
$ cat datasets/enwiki.labeled_revisions.20k_2015.json | shuf -n 1000 | revscoring extract editquality.feature_lists.enwiki.damaging --host https://en.wikipedia.org --profile enwiki.damaging.profile.md > /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment