spraakbanken / sparv-pipeline

Språkbanken's text analysis tool
https://spraakbanken.gu.se/sparv
MIT License
25 stars 6 forks source link

Namespaces for annotations #20

Closed anne17 closed 4 years ago

anne17 commented 5 years ago

E.g. to mark whether an annotation was made manually, automatically or which version of a model it relies on.

Also, one should be able to choose not to override an analysis that was made manually.

anne17 commented 4 years ago

All of the above should be possible in v4. One can keep existing annotations and re-name them (with name-spaces if desired) to e.g. manual.pos. Having multiple annotations done by the same annotator (but different models) is possible using custom rules. We are going to add a flag that lets you explicitly prefix all automatic annotations with sparv (#47).

anne17 commented 4 years ago

With 6f51fe7 we added a config option for prefixing all sparv annotations with a namespace and/or prefixing all annotations present in the source files with a namespace.