Learning to detect language markers