# --------------------------------------------------------
# Pytorch W2VV++
# Written by Xirong Li & Chaoxi Xu
# --------------------------------------------------------

import os
import logging

ROOT_PATH = os.path.join(os.environ['HOME'], 'VisualSearch')
MIN_WORD_COUNT = 5

TEXT_ENCODINGS = ['bow', 'bow_nsw', 'soft_bow', 'soft_bow_nsw', 'gru']
DEFAULT_TEXT_ENCODING = 'bow'
DEFAULT_LANG = 'en'

logger = logging.getLogger(__file__)
logging.basicConfig(
    format="[%(asctime)s - %(filename)s:line %(lineno)s] %(message)s",
    datefmt='%d %b %H:%M:%S',
    level=logging.INFO)
