PDF Search: diagnosing foreign language proficiency