@@ -190,6 +190,10 @@ fn main_aux() {
190
190
let depth = str:: parse ( matches. value_of ( "depth" ) . unwrap ( ) )
191
191
. expect ( "Invalid number" ) ;
192
192
193
+ progress ! ( quiet, "Generating dictionary with lazification {lazification}, depth {depth}" ,
194
+ lazification = lazification,
195
+ depth = depth) ;
196
+
193
197
// Setup.
194
198
let parser = Shift :: new ( ) ;
195
199
let mut dictionary = Dictionary :: default ( ) ;
@@ -220,12 +224,14 @@ fn main_aux() {
220
224
. expect ( "Could not create directory" ) ;
221
225
222
226
let dest_dictionary = dest. join ( "dict.entropy" ) ;
227
+ progress ! ( quiet, "Writing probabilities to {:?}" , dest_dictionary) ;
223
228
let file_dictionary = File :: create ( dest_dictionary)
224
229
. unwrap_or_else ( |e| panic ! ( "Could not create file: {:?}" , e) ) ;
225
230
bincode:: serialize_into ( file_dictionary, & dictionary)
226
231
. expect ( "Could not serialize entropy dictionary" ) ;
227
232
228
233
let dest_strings = dest. join ( "dict.strings" ) ;
234
+ progress ! ( quiet, "Writing strings to {:?}" , dest_strings) ;
229
235
let file_strings = File :: create ( dest_strings)
230
236
. unwrap_or_else ( |e| panic ! ( "Could not create file: {:?}" , e) ) ;
231
237
bincode:: serialize_into ( file_strings, & files_containing_string)
0 commit comments