-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.py
43 lines (29 loc) · 1.29 KB
/
settings.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import os
# location of the data files
DATA_DIR = os.path.dirname(os.path.abspath(__file__)) + '/data'
# plot image location
PLOT_IMG_DIR = os.path.dirname(os.path.abspath(__file__)) + '/plots'
# location of the stop words
STOP_WORDS_DIR = DATA_DIR + '/stop_words'
# the transcript created by Paul Dryburgh and Brendan Smith of the 1301/2 Irish Exchequer receipt roll
ROLL_TXT = DATA_DIR + '/roll_1301.txt'
# csv of 'NOTHING' dates
NOTHING_CSV = DATA_DIR + '/nothing_dates.csv'
# roll data as csv
ROLL_CSV = DATA_DIR + '/roll_1301.csv'
# roll data with extracted entities
ROLL_WITH_ENTITIES_CSV = DATA_DIR + '/roll_entities_1301.csv'
# daily sums as csv
DAILY_SUMS_CSV = DATA_DIR + '/daily_sums_1301.csv'
# report comparing daily sums
DAILY_SUMS_COMPARE_CSV = DATA_DIR + '/daily_sums_compare.csv'
# receipt roll (number of sheets)
RECEIPT_ROLL_EXCEL = DATA_DIR + '/receipt_roll_1301.xlsx'
# details plain text corpus
DETAILS_TEXT_CORPUS = DATA_DIR + '/details_corpus.txt'
# words to help us find spaces
PLACES_NOUNS_TXT = STOP_WORDS_DIR + '/nouns_for_places.txt'
# words to omit from the 'Source' column when extracting places
SOURCE_STOP_WORDS_TXT = STOP_WORDS_DIR + '/sources_stop_words.txt'
# stop words used when extracting keywords
KEYWORDS_STOP_WORDS_TXT = STOP_WORDS_DIR + '/keywords_stop_words.txt'