diff --git a/README.md b/README.md index e947101..43b48bd 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ options: -p, --print print output instead of serializing to a file -a {li,chain,hirao}, --algorithm {li,chain,hirao} dependency head algorithm (default: li) - -s, --same_unit retain use same-unit multinucs in hirao algorithm + -s, --same_unit retain same-unit multinucs in hirao algorithm ``` If you have installed the library you can run the converter directly on the commandline with the options you want like this: diff --git a/rst2dep/rst2dep.py b/rst2dep/rst2dep.py index 30a002a..ec4c2d2 100644 --- a/rst2dep/rst2dep.py +++ b/rst2dep/rst2dep.py @@ -352,7 +352,7 @@ def make_rsd(rstfile, xml_dep_root,as_text=False, docname=None, out_mode="conll" "a directory xml/ containing additional corpus formats") parser.add_argument("-p","--print",dest="prnt",action="store_true",help="print output instead of serializing to a file") parser.add_argument("-a","--algorithm",choices=["li","chain","hirao"],help="dependency head algorithm (default: li)",default="li") - parser.add_argument("-s","--same_unit",action="store_true",help="retain use same-unit multinucs in hirao algorithm") + parser.add_argument("-s","--same_unit",action="store_true",help="retain same-unit multinucs in hirao algorithm") options = parser.parse_args()