Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Releases: EducationalTestingService/python-zpar

Python-zpar v0.9.5

16 Jul 14:07
Compare
Choose a tag to compare
  • 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.

29 May 20:31
Compare
Choose a tag to compare

Set default logging level to be WARNING instead of INFO, for Tagger.py, Parser.py, and DepParser.py.

Add workaround for ZPar bug

28 May 15:23
Compare
Choose a tag to compare

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

12 Dec 22:12
Compare
Choose a tag to compare
  • 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

11 Dec 20:27
Compare
Choose a tag to compare
  • 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.