Learning to Describe Editing Activities in Collaborative Environments: A Case Study on GitHub and Wikipedia