Text this: Diagnosing foreign language proficiency