This is a wrapper around stanza that produces NAF files with morphosyntactic information. It is designed to use as a component in the NewsReader pipeline. Ït currently only works for Dutch.
To install stanza_wrapper, do:
git clone https://github.com/Filter-Bubble/stanza_wrapper.git
cd stanza_wrapper
pip install .
Run tests (including coverage) with:
python setup.py test
We use a stanza trained on Universal Dependencies in a Conll format, but the NAF pipeline uses different schemas, probably derived from Alpino .
- What schema to use for the morphofeat. Does the current version work? NAF has english (UD-UPOS?) tags, whereas our Stanza uses Alpino POS tags.
If you want to contribute to the development of stanza wrapper for NAF files, have a look at the contribution guidelines.
Copyright (c) 2019, Netherlands eScience Center
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This package was created with Cookiecutter and the NLeSC/python-template.