add option to enable-disable edge rescaling
This commit is contained in:
parent
f1985af7bc
commit
2e041f9fd5
@ -1,8 +1,8 @@
|
||||
# d-opt -- lang_main: config file
|
||||
|
||||
[paths]
|
||||
inputs = '../data/in/'
|
||||
results = '../data/out/'
|
||||
inputs = './lang-main/data/tests/in/'
|
||||
results = './lang-main/data/tests/out/'
|
||||
models = './lang-models'
|
||||
graph_export_filename = 'EXPORT-TokenGraph'
|
||||
|
||||
@ -35,6 +35,7 @@ threshold_amount_characters = 5
|
||||
threshold_similarity = 0.92
|
||||
|
||||
[graph_postprocessing]
|
||||
enable_edge_rescaling = true
|
||||
max_edge_number = -1
|
||||
|
||||
[time_analysis.uniqueness]
|
||||
|
||||
@ -149,6 +149,7 @@ THRESHOLD_SIMILARITY: Final[float] = threshold_similarity
|
||||
# ** token analysis
|
||||
|
||||
# ** graph postprocessing
|
||||
ENABLE_EDGE_RESCALING: Final[bool] = CONFIG['graph_postprocessing']['enable_edge_rescaling']
|
||||
EDGE_WEIGHT_DECIMALS: Final[int] = 6
|
||||
max_edge_number: int | None = None
|
||||
max_edge_number_cfg: int = CONFIG['graph_postprocessing']['max_edge_number']
|
||||
|
||||
@ -35,6 +35,7 @@ threshold_amount_characters = 5
|
||||
threshold_similarity = 0.92
|
||||
|
||||
[graph_postprocessing]
|
||||
enable_edge_rescaling = true
|
||||
max_edge_number = -1
|
||||
|
||||
[time_analysis.uniqueness]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user