Analyzing, Aligning, Assessing: A portable framework for corpus-based writing pedagogy at scale