- Install
- Insert data
- Run Website
- Annotation
- Patchnotes
- TODO
- After manuel classificiation
Jupyter Notebook required for transform & load .tsv
into database
pip install sqlite3
pip install requests
pip install bottle
- run
python create_database.py
-
[optional] using
.tsv
-files- put your
.tsv
-files in/tsv
- open jupyter notebook
transform.ipynb
, change your.tsv
-file - maybe you have to do some changes for the
user.replaces()
- run Jupyter Notebook
transform.ipynb
- put your
-
run
fetch_json_reddit_from_database.py
(Saves all jsons from existing accounts in your database) -
run
update_fetched.py
(Updates fetch status in your database, if json-files are in/json
, if you had runfetch_json_reddit_from_database.py
, you do not need to do it.)
- run
python webserver.py
- open
localhost
in your browser
- click on
annotate
in menu - click
fetch now
(button yellow) after fetch it becomes grey (refetch is possible) - type your name in Annotator (name will pre-fill for functions
next entry
/add new entry
aftersave
, but will not saved automatically for the next annotations)- if json is empty: account is does not exists
- if json is there, but only username is there and the other key/values are null: accout is bannend
- rest has data
- is duplicate is active, the user_id (account name) was more than once in the
.tsv
-file
- click
save
- after save you can goto
next entry
oradd new entry
your json file are in /json
your sqlite3 database file is in /database