ClearWrap-0.2
توضیحات
Wrapper for ClearParser
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ClearWrap-0.2 |
| نام | ClearWrap |
| نسخه کتابخانه | 0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Andy MacKinlay |
| ایمیل نویسنده | andrew.mackinlay@nicta.com.au |
| آدرس صفحه اصلی | https://bitbucket.org/nicta_biomed/clearwrap |
| آدرس اینترنتی | https://pypi.org/project/ClearWrap/ |
| مجوز | Apache 2.0 |
Wrappers for the `NICTA fork <https://bitbucket.org/nicta_biomed/clearparser_flex>`_
of `ClearParser <https://code.google.com/p/clearparser>`_ dependency parser
allowing customisation of the parsing process. It was developed primarily for the
`StructuRX <https://bitbucket.org/nicta_biomed/structurx>`_ prescription
interpretation tool.
Certain features also work with the regular unforked ClearParser but this is
very much untested.
To use this code an installation of ClearParser must be present on your system.
Usage example, if ClearParser is installed to `/usr/local/clearparser`::
>>> from clearparser import ClearWrapper
>>> wrapper = ClearWrapper('parsing-config.xml', 'pos-tagging-config.xml',
... 'dep-model.jar', '/usr/local/clearparser')
>>> sentences = ['I ran']
>>> parsed = wrapper.parse_in_bulk(sentences)
نحوه نصب
نصب پکیج whl ClearWrap-0.2:
pip install ClearWrap-0.2.whl
نصب پکیج tar.gz ClearWrap-0.2:
pip install ClearWrap-0.2.tar.gz