src/HOL/Tools/Sledgehammer/sledgehammer_mash.ML
changeset 50951 e1cbaa7d5536
parent 50874 2eae85887282
child 50952 3fd83a0cc4bd
equal deleted inserted replaced
50950:a145ee10371b 50951:e1cbaa7d5536
   148     val cmd_file = temp_dir ^ "/mash_commands" ^ serial
   148     val cmd_file = temp_dir ^ "/mash_commands" ^ serial
   149     val cmd_path = Path.explode cmd_file
   149     val cmd_path = Path.explode cmd_file
   150     val core =
   150     val core =
   151       "--inputFile " ^ cmd_file ^ " --predictions " ^ sugg_file ^
   151       "--inputFile " ^ cmd_file ^ " --predictions " ^ sugg_file ^
   152       " --numberOfPredictions " ^ string_of_int max_suggs ^
   152       " --numberOfPredictions " ^ string_of_int max_suggs ^
   153       " --NBSinePrior" (* --learnTheories *) ^
   153       (* " --learnTheories" ^ *) (if save then " --saveModel" else "")
   154       (if save then " --saveModel" else "")
       
   155     val command =
   154     val command =
   156       "\"$ISABELLE_SLEDGEHAMMER_MASH/src/mash.py\" --quiet --outputDir " ^
   155       "\"$ISABELLE_SLEDGEHAMMER_MASH/src/mash.py\" --quiet --outputDir " ^
   157       File.shell_path (mash_model_dir ()) ^ " --log " ^ log_file ^ " " ^ core ^
   156       File.shell_path (mash_model_dir ()) ^ " --log " ^ log_file ^ " " ^ core ^
   158       " >& " ^ err_file
   157       " >& " ^ err_file
   159     fun run_on () =
   158     fun run_on () =