Skip to content

Releases: KorAP/PythonKorAPClient

PyPi release v1.0.1

13 Apr 11:12
Compare
Choose a tag to compare
  • Fixed error with fetching empty context tokens in fetch… methods

already in v1.0.0

  • Simplified authorization process for accessing restricted data via the new auth() function
  • Fixed issues with tokenized matches in corpusQuery results
  • Fixed smoothing constant in mergeDuplicateCollocates function
  • Fixed chainability of fetch methods in corpusQuery

PyPi release v0.8.0

27 Jan 18:14
Compare
Choose a tag to compare
  • Updates recommended RKorAPClient version to 0.8.0
  • Added textMetadata KorAPConnection method to retrieve all metadata for a text based on its sigle
  • Added webUiRequestUrl column also to corpusStats results, so that also virtual corpus definitions can be linked to / tested directly in the KorAP UI
  • Uses server side tokenized matches in collocation analysis, if supported by KorAP server
  • Unless metadataOnly is set, also tokenized snippets are now retrieved in corpus queries
    (stored in res.slots['collectedMatches']['tokens.left'], res.slots['collectedMatches']['tokens.match'],
    res.slots['collectedMatches']['tokens.right']). Because Pandas data frames cannot store lists, tokens are stored as strings, tab separated.
  • Python 3.11 and 3.12 are now supported
  • Python 3.7 support has been dropped (by rpy2 dependency)

PyPi release v0.7.5

11 Sep 18:24
Compare
Choose a tag to compare

0.7.5

  • Updates recommended RKorAPClient version to 0.7.5
    • fixes collocation scores for lemmatized node or collocate queries
  • Automatically converts again between rpy and py objects, most importantly between Pandas and R data frames, also with newer versions of rpy2
    • Fixes "Hello world" example in Readme.md
  • Updates references / citation information
  • Changes corpusStats to return a pandas.DataFrame by default
  • Advertises Python 3.10 as supported
  • Adds interactive plot examples using Vega-Altair