-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
31 lines (17 loc) · 986 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# instamap: algorithm's (hyper)parameters
num_iterations = 3
k_num_dict_neighbours = 70
# embeddings and vocabularies
source_vectors = "./sample_data/vectors/unaligned/de.vectors"
# for starting from VecMap aligned vectors: "./sample_data/vectors/vecmap_aligned/de-tr.de.vectors"
source_vocabulary = "./sample_data/vectors/unaligned/de.vocab"
# for starting from VecMap aligned vectors: "./sample_data/vectors/vecmap_aligned/de-tr.de.vocab"
target_vectors = "./sample_data/vectors/unaligned/tr.vectors"
# for starting from VecMap aligned vectors: "./sample_data/vectors/vecmap_aligned/de-tr.tr.vectors"
target_vocabulary = "./sample_data/vectors/unaligned/tr.vocab"
# for starting from VecMap aligned vectors: "./sample_data/vectors/vecmap_aligned/de-tr.tr.vocab"
# translation ("training") dictionary
train_dict = "./sample_data/dicts/de-tr.train.5k.tsv"
# output (after projection)
source_vectors_output = "mapped.de.vectors"
target_vectors_output = "mapped.tr.vectors"