aboutsummaryrefslogtreecommitdiff
path: root/srchr/src/config.rs
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2022-10-22 13:12:04 +0200
committertslil clingman <tslil@posteo.de>2022-10-22 13:14:57 +0200
commitf6d4be2195a9103e42b00c9aa362c62d079c3f4e (patch)
tree333c1f15325e1f51096e47355e455790b540ac3e /srchr/src/config.rs
parent1fa7552c3018d541b617b5ceebc6abeaba013eaa (diff)
stats loading directly from json file
Diffstat (limited to 'srchr/src/config.rs')
-rw-r--r--srchr/src/config.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/srchr/src/config.rs b/srchr/src/config.rs
index c9ca302..8badd52 100644
--- a/srchr/src/config.rs
+++ b/srchr/src/config.rs
@@ -20,6 +20,9 @@
// Input parameters
pub const CORPUS_FILE_NAME: &str = "corpus.txt";
+pub const STATS_FILE_NAME: &str = "shai.json";
+pub const LOAD_STATS: bool = true;
+
pub const STARTING_LAYOUT_STRING: &str = "
A B C D E F G H I J
K L M N O P Q R S T