Skip to content

Commit

Permalink
Python READMEs: fix docs for load_reranker_model
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcc committed Oct 24, 2014
1 parent bc79744 commit 00f74ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README-python.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ You can also load parser and reranker models manually::

>>> rrp = RerankingParser()
>>> rrp.load_parser_model('/tmp/models/WSJ/parser')
>>> rrp.load_reranker_model('/tmp/models/WSJ/reranker')
>>> rrp.load_reranker_model('/tmp/models/WSJ/reranker/features.gz', '/tmp/models/WSJ/reranker/weights.gz')

If you only want the top parse of a sentence in Penn Treebank format, use
the ``simple_parse()`` method::
Expand Down
2 changes: 1 addition & 1 deletion python/bllipparser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
>>> rrp = RerankingParser()
>>> rrp.load_parser_model('/tmp/models/WSJ/parser')
>>> rrp.load_reranker_model('/tmp/models/WSJ/reranker')
>>> rrp.load_reranker_model('/tmp/models/WSJ/reranker/features.gz', '/tmp/models/WSJ/reranker/weights.gz')
If you only want the top parse of a sentence in Penn Treebank format, use
the ``simple_parse()`` method::
Expand Down

0 comments on commit 00f74ae

Please sign in to comment.