Writing as Learning: A Content-Based Approach