-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathconstants.py
24 lines (18 loc) · 934 Bytes
/
constants.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import os
from os.path import join as jn
import pandas as pd
# Paths
root=os.environ['EMPATHY_PROJECT_ROOT']
responses_raw=jn(root,'data','responses','data','qualtrics_download_2018-05-16-1044.csv')
responses=root+'/data/responses/data/responses.csv'
responses_to_exclude=root+'/data/responses/data/exclude_responses.txt'
messages=root+'/data/responses/data/messages.csv'
articles=jn(root, 'data', 'responses', 'data', 'articles.csv')
articles_raw=root+'/data/stimulus/data/empathynewsarticles_all.txt' # original source of articles provided by Joao
articles_data=root+'/data/stimulus/data/articles_raw_data.csv'
articles_categories=root+'/data/stimulus/data/article_categories.csv'
articles_full=root+'/data/articles_full_data.csv'
# word vectors
vectors=os.environ['VECTORS']
facebook_fasttext_common_crawl=jn(vectors,'crawl-300d-2M.vec.zip')
google_news_embeddings='/data1/embeddings/eng/GoogleNews-vectors-negative300.bin'