korpling / annatto

Converts linguistic data formats based on the graphANNIS data model as intermediate representation and can apply consistency tests.
Apache License 2.0
1 stars 0 forks source link

Follow symlinks when building document nodes #234

Closed MartinKl closed 1 month ago

MartinKl commented 1 month ago

Currently, import_corpus_graph_from_files does either not follow symlinks properly (for upward linking) or does not use the symlink name, but the underlying path name. It would be helpful to keep the symlink name, because it is an easy strategy to influence the corpus name, that would be transparent to most users.

MartinKl commented 1 month ago

This demands removing path normalization in several places in the code, which I don't consider an appropriate amount of effort given relatively small (almost cosmetic) benefit.

I suggest to extend the revise functionality to renaming corpus nodes.