This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
56 lines (48 loc) · 2.63 KB
/
config.yaml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
'stanford_nlp_host': 'localhost'
'stanford_nlp_port': '9998'
db:
uname: fox #fox #giacomo
pw: password #password #omocaig
host: localhost
port: 5432
db: ideas #ideas #conceptnet
conceptnet: "/home/fox/PycharmProjects/news-crawler2/mini.h5_sql_input.txt" # "/home/giacomo/projects/similarity-pipeline/submodules/news-crawler/mini.h5_sql_input.txt"
geonames: "/home/fox/IdeaProjects/stanfordnlp_dg_server/allCountries.txt_sql_input.txt" #/home/fox/IdeaProjects/stanfordnlp_dg_server/allCountries.txt_sql_input.txt" # "/home/giacomo/projects/similarity-pipeline/submodules/stanfordnlp_dg_server/allCountries.txt_sql_input.txt"
jar_old_server: "/home/fox/IdeaProjects/stanfordnlp_dg_server/target/StanfordNLPExtractor-1.0-SNAPSHOT.jar" #"/home/giacomo/projects/similarity-pipeline/submodules/stanfordnlp_dg_server/target/StanfordNLPExtractor-1.0-SNAPSHOT-jar-with-dependencies.jar"
'iterations': 5 # Number of iterations for creating GSM output
#'should_generate_final_stanza_db': False
'should_load_handwritten_sentences': True
#'should_generate_cypher_in_db': False
#'should_run_datagram_db': True
should_match_sentences: True
hand_dataset: 'sentences/newcastle_permutations/3/newcastle_permutations_3.txt'
ontology: '/home/fox/PycharmProjects/LeSSI-python/Parmenides/turtle.ttl'
TBoxImpl: '/home/fox/PycharmProjects/LeSSI-python/Parmenides/TBox/file.txt'
TBoxEq: '/home/fox/PycharmProjects/LeSSI-python/Parmenides/TBox/file_eq.txt'
#non_verbs: 'gsmtosimilarity/non_verb_types.txt'
#rejected_edge_types: 'gsmtosimilarity/rejected_edge_types.txt'
#transitive_verbs: 'gsmtosimilarity/transitive_verbs.txt'
force_regenerate: False
rewriting_strategy: 'logic' # simplistic / logic
'similarity': 'IDEAS24_logic' #IDEAS24_graphs / #IDEAS24_logic / SentenceTransformer
'HuggingFace': 'sentence-transformers/all-MiniLM-L6-v2' # all-MiniLM-L6-v2 / all-mpnet-base-v2
'string_similarity': 'Prevailing'
'string_similarity_prevailing': 'HuggingFace'
'verb_similarity': 'Prevailing'
'verb_similarity_prevailing': 'HuggingFace'
ConceptNet5Numberbatch:
lan: "en"
minTheta: 0.8
'prevailing':
'string_similarity': 'string_similarity_prevailing'
'verb_similarity': 'verb_similarity_prevailing'
resolve_params:
recall_threshold: 0.1
precision_threshold: 0.8 # 0.7 doesn't detect Newcastle upon Tyne from 'Newcastle'
#'crawl_to_gsm':
# 'stanza_db': 'final_gsm_stanza_db.json'
#'generate_final_db':
# 'db_ph2': 'final_db.json' # JSON for crawled data
'gsm_gsql_file_path': '/home/fox/CLionProjects/gsm_gsql/' # '/home/fox/CLionProjects/gsm_gsql/' '/home/giacomo/projects/gsm2/'
# React Visualiser
'web_dir': '/home/fox/PycharmProjects/LeSSI-python/visualiser/src/results/'