0.2.5
Added:
- Added a "swapping" unary rule box to handle unary rules that change the direction of composition, improving the coverage of the
BobcatParser
. - Added a
--version
flag to the CLI. - Added a
make_checkpoint
method to all training models.
Changed:
- Changed the
WebParser
so that the online service to use is specified by name rather than by URL. - Changed the
BobcatParser
to only allow one tree per category in a cell, doubling parsing speed without affecting the structure of the parse trees (in most cases). - Made the linting of the codebase stricter, enforced by the GitHub action. The flake8 configuration can be viewed in the
setup.cfg
file.
Fixed:
- Fixed the parameter names in
CCGRule
, wheredom
andcod
had inadvertently been swapped.