diff --git a/README-python.rst b/README-python.rst index 8328bdd..02fd1a9 100644 --- a/README-python.rst +++ b/README-python.rst @@ -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:: diff --git a/python/bllipparser/__init__.py b/python/bllipparser/__init__.py index 386a711..e301143 100644 --- a/python/bllipparser/__init__.py +++ b/python/bllipparser/__init__.py @@ -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::