Skip to content

Wolpertinger

Choose a tag to compare

@ablaette ablaette released this 01 Feb 11:20
· 330 commits to master since this release

New Features

  • The CWB code is updated to v3.4.33 / r1690 (#29). Automated patches that have been developed are a safeguard that it will be painless in the future to align RcppCWB with upstream CWB development.
  • The C code in the files cwb-huffcode.c, cwb-compress-rdx.c and cwb-makeall.c was not in line with the CWB version of the rest of the code (v3.4.14 / SVN revision 1069) but rather v2.2.b99 or v3.0.0. All code changes up to v3.4.14 were reconstructed and implemented (#35). Note that cwb-encode.c was at CWB v3.4.14, as the encoding functionality was exposed at a later stage.
  • A new function cwb_version() will report the version of the CWB source code.
  • The cwb_encode() function now has a previously missing argument encoding to state the encoding of the corpus to be indexed.
  • Reduced number of example *.vrt-files to one to keep package size below 5GB.

Minor Improvements

  • Encoding a cropus using cwb_encode() now assumes implicitly that input files are XML files and remove blank lines and leading and trailing whitespace. This is equivalent to the option "-xsB" of the command line utility cwb-encode.
  • The C++ code of cwb_encode() is now a patch of the main() function of cwb-encode.c, so that code in the *.cpp file can be limited to a slim wrapper, limiting the risk that the code in RcppCWB looses touch with CWB upstream development.
  • Header files _eval.h, _globalvars.h and _cl.h in the ./src directory are autogenerated files now, not to be edited by hand.
  • The C++ code of the cqp_drop_subcorpus() function is temporarily disabled to ensure that the package can be built (#34).