PolMine / cwbtools

Tools to create and manage CWB-indexed corpora
4 stars 2 forks source link

Missing s-attributes in vignette's "Scenario 2: Tidytext to CWB" #49

Closed dschuele closed 8 months ago

dschuele commented 1 year ago

Following Scenario 2: Tidytext to CWB from the cwbtools vignette creates a CWB corpus but without s-attributes.

ablaette commented 8 months ago

I think this is related to https://github.com/PolMine/cwbtools/issues/57#issue-2112902013: s-attributes were not reliably available after corpus encoding. This is ensured now by reloading the corpus after encoding/indexing/compression. As a safeguard, this is covered by a unit test now.