Skip to content
Permalink
aacc3e7b59
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
45 lines (34 sloc) 1.66 KB
############### This contains settings for the model ##################
############### which includes data file path, parameters, etc. #######
#######################################################################
##directory stores the background KB of all universes
BASE_DIR = /var/tmp/wikia/entity-typing/data-store/
##directory stores the pre-trained model of fictional typing module
ATTENTION_MODEL = /local/var/tmp/wikia/entity-typing/deep-learning/
##directory stores the universe-term matrix for reference universe ranking
TERMMATRIX = /var/tmp/wikia/all-data/top-k-universe-termmatrix/
WIKIA_TYPE_SYSTEM_PATH = /type-hierarchy
WIKIA_TYPE_HIERARCHY_UPDATE = /type-hierarchy-update
WIKIA_TAXONOMY_PATH = /taxonomy-original
# background wikia
WIKIA_ENTITY_DICTIONARY = /entity-dictionary
WIKIA_ENTITY_DEFINITION = /entity-definition
WIKIA_ENTITY_TYPE = /entity-type
WIKIA_MENTION_DICTIONARY = /mention-dictionary
WIKIA_MENTION_ENTITY = /mention-entity
WIKIA_ENTITY_RELATED_ENTITY = /entity-keyentities
WIKIA_TOKEN_DICTIONARY = /token-dictionary
WIKIA_ENTITY_CONTEXT_SORTED_BY_FREQUENCY = /entity-context
WIKIA_ENTITY_CONTEXT = /entity-context-sorted
#background kb
WIKIA_BACKGROUND_PREDICATE_DICTIONARY = /predicate-dictionary
WIKIA_BACKGROUND_ADD_INFO_DICTIONARY = /add-info-dictionary
WIKIA_BACKGROUND_FACT_DICTIONARY = /fact-dictionary
WIKIA_BACKGROUND_TIME_DICTIONARY = /time-dictionary
WIKIA_BACKGROUND_STATISTIC = /bkb-statistic
# stopwords
STOPWORDS = stopwords_en.txt
# take TOKEN_CONTEXT_COMPRESS_RATE most frequent tokens
TOKEN_CONTEXT_COMPRESS_RATE = 0.2
# if context size < STANDARD_TOKEN_CONTEXT_SIZE, take STANDARD_TOKEN_CONTEXT_SIZE
STANDARD_TOKEN_CONTEXT_SIZE = 100