DATA_DIR = "data/"
ELASTIC_SEARCH_ADDRESS = "localhost"
ELASTIC_SEARCH_PORT = 9200
ES_TIMEOUT = 150

HOST = 'localhost'
PORT = 8000
DEBUG = True

MODEL_FILE = "/mnt/model"
MODEL_TYPE = "GBDT"
TRAINING_DIR = "/mnt/tdata/"
CLICK_DIR = "/mnt/clickdata/"

DOC2VEC_PATH = "/mnt/word2vec_model/200_wiki.model"
ANOTHER_DOC2VEC = "application/doc2vec/model"
THULAC = "/mnt/thulac/"

WORK_DIR = "work"
TEMP_DIR = "temp"

WORD_FILE = "/mnt/expand/100_str_min"
VEC_FILE = "/mnt/expand/100_vec_min"
DIS_ID_FILE = "/mnt/expand/100_dis_min_id"
DIS_VALUE_FILE = "/mnt/expand/100_dis_min_value"
MAX_K = 25
VEC_SIZE = 100

EXPAND_K = 2
EXPAND_ALPHA = 0.5
EXPAND_RATIO = [8, 0]

LOAD_MODEL = True
USING_JIEBA = False

ELASTIC_USER = "no_user"
ELASTIC_PASS = "no_pass"

DATABASE_IP = "135.246.79.80:6666"
DATABASE_USER = "user"
DATABASE_PASS = "nopass"
DATABASE_NAME = "law"

THULAC_MODEL_PATH = "/mnt/thulac/models"
