diff --git a/main.py b/main.py index 95093345dbe3114566222631aae0d362c86fb763..1c33e21b1ff0b6035baa03f330ee2315fef95268 100755 --- a/main.py +++ b/main.py @@ -18,7 +18,7 @@ if __name__ == "__main__" : parser.add_argument("mode", type=str, help="What to do : train | decode") parser.add_argument("type", type=str, - help="Type of train or decode. random | oracle") + help="Type of train or decode. random | oracle | rl") parser.add_argument("corpus", type=str, help="Name of the CoNLL-U file. Train file for train mode and input file for decode mode.") parser.add_argument("model", type=str, @@ -34,13 +34,13 @@ if __name__ == "__main__" : parser.add_argument("--dev", default=None, help="Name of the CoNLL-U file of the dev corpus.") parser.add_argument("--incr", "-i", default=False, action="store_true", - help="If true, the neural network will be 'incremenal' i.e. will not see right context words if they have never been the word index.") + help="If true, the neural network will be 'incremental' i.e. will not see right context words if they have never been the word index.") parser.add_argument("--debug", "-d", default=False, action="store_true", help="Print debug infos on stderr.") parser.add_argument("--silent", "-s", default=False, action="store_true", help="Don't print advancement infos.") parser.add_argument("--ts", default="", - help="Comma sepaarated list of supplementary transitions. Example \"BACK 1,BACK 2\"") + help="Comma separated list of supplementary transitions. Example \"BACK 1,BACK 2\"") args = parser.parse_args() if args.debug :