Skip to content
Snippets Groups Projects
Commit 4500957d authored by Maciej Zawadzki's avatar Maciej Zawadzki
Browse files

repair path to model-kpwr11-H

parent 47f5cb17
No related branches found
No related tags found
No related merge requests found
...@@ -41,8 +41,8 @@ The kpwr.ini config defines two layers: ...@@ -41,8 +41,8 @@ The kpwr.ini config defines two layers:
chunk_vp. chunk_vp.
There are two trained models distributed with IOBBER: There are two trained models distributed with IOBBER:
* model-kpwr04-H: recognises chunks and their syntactic heads, * model-kpwr11-H: recognises chunks and their syntactic heads,
* model-kpwr04: chunks but no heads. * model-kpwr11: chunks but no heads.
NOTE: the current version of iobber is unable to recognise discontinuous chunks. NOTE: the current version of iobber is unable to recognise discontinuous chunks.
Discontinuities, however, may be expressed in CCL format and this is likely to be Discontinuities, however, may be expressed in CCL format and this is likely to be
...@@ -56,7 +56,7 @@ files already annotated with named entities). ...@@ -56,7 +56,7 @@ files already annotated with named entities).
Example call using the bundled model: Example call using the bundled model:
iobber kpwr.ini -d model-kpwr04/ my_xces_input.xml -i xces -O ccl_chunked_output.xml iobber kpwr.ini -d model-kpwr11/ my_xces_input.xml -i xces -O ccl_chunked_output.xml
This will read the given XCES-encoded file and produce CCL output. Note: the This will read the given XCES-encoded file and produce CCL output. Note: the
kpwr.ini config assumes the input file has been morphosyntactically tagged and kpwr.ini config assumes the input file has been morphosyntactically tagged and
......
...@@ -71,8 +71,8 @@ def go(): ...@@ -71,8 +71,8 @@ def go():
dest='chunker_config', default='kpwr.ini', dest='chunker_config', default='kpwr.ini',
help='use given chunker config (default: kpwr.ini)') help='use given chunker config (default: kpwr.ini)')
parser.add_option('-C', '--chunker-model', type='string', action='store', parser.add_option('-C', '--chunker-model', type='string', action='store',
dest='chunker_dir', default='model-kpwr04-H', dest='chunker_dir', default='model-kpwr11-H',
help='read chunker trained model from the given dir (default: model-kpwr04-H)') help='read chunker trained model from the given dir (default: model-kpwr11-H)')
parser.add_option('-w', '--tagger-config', type='string', action='store', parser.add_option('-w', '--tagger-config', type='string', action='store',
dest='tagger_config', default='nkjp_s2.ini', dest='tagger_config', default='nkjp_s2.ini',
help='use given tagger (wcrft) config (default: nkjp_s2.ini)') help='use given tagger (wcrft) config (default: nkjp_s2.ini)')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment