"""
    settings

    a repository to configure various parts of the app
"""

DATA_LOC = 'chatbot/cache/'
NHS_BASE_URL = 'http://www.nhs.uk'
API_BASE_URL = '/chatbot/api/v1'

TEXTMINER = {

    'desc_attributes': {
        'name': 'description'
    },

    'subj_attributes': {
        'name': 'DC.title'
    },

    'article_attributes': {
        'start_t_0': 'Overview',
        'start_t_1': 'Print this page',
        'start_t_2': 'Print this page',
        'end_t_0': 'Share:',
        'end_t_1': '',
        'end_t_2': ''
    }
}

NLP = {
    'pipeline': {
        'pos': True,
        'stop': True,
        'lemma': True
    },
    'part_of_speech_exclude':
        ['ADP', 'PUNCT', 'DET', 'CONJ', 'PART', 'PRON', 'SPACE']
}

APP_CONFIG = {
    'SECRET_KEY': '\x9c\xedh\xdf\x8dS\r\xe3]\xc3\xd3\xbd\x0488\xfc'
                  '\xa6<\xfe\x94\xc8\xe0\xc7\xdb',
    'DEBUG': False
}

"""
    settings

    a repository to configure various parts of the app
"""

DATA_LOC = 'chatbot/cache/'
NHS_BASE_URL = 'http://www.nhs.uk'
API_BASE_URL = '/chatbot/api/v1'

TEXTMINER = {

    'desc_attributes': {
        'name': 'description'
    },

    'subj_attributes': {
        'name': 'DC.title'
    },

    'article_attributes': {
        'start_t_0': 'Overview',
        'start_t_1': 'Print:',
        'start_t_2': '',
        'end_t_0': 'Share:',
        'end_t_1': '',
        'end_t_2': ''
    }
}

NLP = {
    'pipeline': {
        'pos': True,
        'stop': True,
        'lemma': True
    },
    'part_of_speech_exclude':
        ['ADP', 'PUNCT', 'DET', 'CONJ', 'PART', 'PRON', 'SPACE']
}

APP_CONFIG = {
    'SECRET_KEY': '\x9c\xedh\xdf\x8dS\r\xe3]\xc3\xd3\xbd\x0488\xfc'
                  '\xa6<\xfe\x94\xc8\xe0\xc7\xdb',
    'DEBUG': False
}

update article keys