Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
amir-zeldes committed Feb 29, 2024
1 parent c3a538f commit bcabf7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion rst2dep/rst2dep.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit bcabf7c

Please sign in to comment.