From 59e26b683bd15afc330aed283c0d905dbe4932cd Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Mon, 27 Jan 2020 22:52:15 +0100 Subject: [PATCH] Change Bootstrap option name --- src/GEval/OptionsParser.hs | 2 +- test/bleu-complex-bootstrap/bleu-complex-bootstrap/config.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GEval/OptionsParser.hs b/src/GEval/OptionsParser.hs index 9bd0d67..e10d109 100644 --- a/src/GEval/OptionsParser.hs +++ b/src/GEval/OptionsParser.hs @@ -206,7 +206,7 @@ specParser = GEvalSpecification ) ) <*> ( optional $ option auto - (long "bootstrap-resampling" + (long "bootstrap" <> short 'B' <> metavar "NUMBER-OF-SAMPLES" <> help "Tests on NUMBER-OF-SAMPLES bootstrap samples rather than just on the whole test set" )) diff --git a/test/bleu-complex-bootstrap/bleu-complex-bootstrap/config.txt b/test/bleu-complex-bootstrap/bleu-complex-bootstrap/config.txt index b1ffebd..406b4fe 100644 --- a/test/bleu-complex-bootstrap/bleu-complex-bootstrap/config.txt +++ b/test/bleu-complex-bootstrap/bleu-complex-bootstrap/config.txt @@ -1 +1 @@ ---metric BLEU --bootstrap-resampling 100 +--metric BLEU --bootstrap 100