Skip to content

Commit

Permalink
Export token in table exporter instead of ignoring them
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaskrause committed Oct 8, 2024
1 parent a96c8ec commit 42f7676
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Export token in `table` exporter instead of ignoring them.

## [0.17.0] - 2024-09-27

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/exporter/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ impl ExportTable {
.get_value_for_item(&rn, &NODE_NAME_KEY)?
.ok_or(anyhow!("Node has no name"))?;
for anno_key in node_annos.get_all_keys_for_item(&rn, None, None)? {
if anno_key.ns.as_str() != ANNIS_NS {
if anno_key.ns.as_str() != ANNIS_NS || anno_key.name == "tok" {
let qname = join_qname(anno_key.ns.as_str(), anno_key.name.as_str());
let id_name = format!("id_{qname}");
let index = if let Some(index) = index_map.get(&qname) {
Expand Down

0 comments on commit 42f7676

Please sign in to comment.