Annotating digital libraries and electronic editions in a collaborative and semantic perspective