Context is Key: Grammatical Error Detection with Contextual Word Representations

Samuel Bell, Helen Yannakoudakis, Marek Rei
6/15/2019
cs.CLcs.LG

Official code: samueljamesbell/sequence-labeler (11 stars, Python, last commit 2019-12-28).

Abstract

Grammatical error detection (GED) in non-native writing requires systems to identify a wide range of errors in text written by language learners. Error detection as a purely supervised task can be challenging, as GED datasets are limited in size and the label distributions are highly imbalanced.

Show full abstract

Contextualized word representations offer a possible solution, as they can efficiently capture compositional information in language and can be optimized on large amounts of unsupervised data. In this paper, we perform a systematic comparison of ELMo, BERT and Flair embeddings (Peters et al., 2017; Devlin et al., 2018; Akbik et al., 2018) on a range of public GED datasets, and propose an approach to effectively integrate such representations in current methods, achieving a new state of the art on GED. We further analyze the strengths and weaknesses of different contextual embeddings for the task at hand, and present detailed analyses of their impact on different types of errors.

View on arXivView PDF

Code Implementations(1)

Neural network sequence labeling model

113PythonApr 17, 20186 years ago

Similar Papers

Cite this paper

@article{bell2019context,
  title  = {Context is Key: Grammatical Error Detection with Contextual Word Representations},
  author = {Samuel Bell and Helen Yannakoudakis and Marek Rei},
  year   = {2019},
  eprint = {1906.06593},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.06593}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1906.06593.svg)](https://codeofpaper.com/paper/1906.06593)

Discussion