This repository has been archived by the owner on Sep 13, 2022. It is now read-only.
Releases: EducationalTestingService/python-zpar
Releases · EducationalTestingService/python-zpar
Python-zpar v0.9.5
- Accompanying release for ZPar v0.7.5 which is a big bugfix release.
- Fixed segfaults when using python-zpar interactively.
- Removed hacky fix for single word sentences introduced in
v0.9.2
since the underlying bug has been fixed in ZPar. - Previously we were programmatically redirecting STDOUT to STDERR because ZPar used to print informational messages to STDOUT. However, this has been fixed in the new release of ZPar. This redirection is no longer necessary and has been removed.
Update logging levels.
Set default logging level to be WARNING
instead of INFO
, for Tagger.py
, Parser.py
, and DepParser.py
.
Add workaround for ZPar bug
The latest version of ZPar has a bug where it produces non-deterministic output for sentences that contain a single word in all caps. This hack title-cases such words to make the output deterministic and then restores the original word. This hack will be removed once the underlying bug in ZPar is fixed which is under progress.
Updated Server
- Adding the new functions to parse tagged data to the server script.
- Updating the client script to show examples of these new functions.
Unit tests & Parsing already tagged data
- This release adds functions called
[dep_]parse_tagged_sent()
and[dep_]parse_tagged_file()
that allow the user to obtain constituency and dependency parses for already tagged sentences and files. - It also adds simple unit tests for all the major functions.