Memory-based clause identification