mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
a6830d60e8
* Changes to wiki_entity_linker * No more f-strings * Make some requested changes * Add back option to get descriptions from wd not wp * Fix logs * Address comments and clean evaluation * Remove type hints * Refactor evaluation, add back metrics by label * Address comments * Log training performance as well as dev
12 lines
332 B
Python
12 lines
332 B
Python
TRAINING_DATA_FILE = "gold_entities.jsonl"
|
|
KB_FILE = "kb"
|
|
KB_MODEL_DIR = "nlp_kb"
|
|
OUTPUT_MODEL_DIR = "nlp"
|
|
|
|
PRIOR_PROB_PATH = "prior_prob.csv"
|
|
ENTITY_DEFS_PATH = "entity_defs.csv"
|
|
ENTITY_FREQ_PATH = "entity_freq.csv"
|
|
ENTITY_DESCR_PATH = "entity_descriptions.csv"
|
|
|
|
LOG_FORMAT = '%(asctime)s - %(levelname)s - %(name)s - %(message)s'
|