Pattern-Matching for Real-Time Feedback on Pre-Writing Activity