GrammarTagger: A Multilingual, Minimally-Supervised Grammar Profiler for Language Education

Masato Hagiwara, Joshua Tanner, Keisuke Sakaguchi
4/7/2021
cs.CL

Official code: octanove/grammartagger (33 stars, Python, Apache-2.0, last commit 2021-04-08).

Abstract

We present GrammarTagger, an open-source grammar profiler which, given an input text, identifies grammatical features useful for language education. The model architecture enables it to learn from a small amount of texts annotated with spans and their labels, which 1) enables easier and more intuitive annotation, 2) supports overlapping spans, and 3) is less prone to error propagation, compared to complex hand-crafted rules defined on constituency/dependency parses.

Show full abstract

We show that we can bootstrap a grammar profiler model with $F_1 \approx 0.6$ from only a couple hundred sentences both in English and Chinese, which can be further boosted via learning a multilingual model. With GrammarTagger, we also build Octanove Learn, a search engine of language learning materials indexed by their reading difficulty and grammatical features. The code and pretrained models are publicly available at \url{https://github.com/octanove/grammartagger}.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

GrammarTagger — A Neural Multilingual Grammar Profiler for Language Learning

333Python, JsonnetApr 7, 20215 years agoApache-2.0

Similar Papers

Cite this paper

@article{hagiwara2021grammartagger,
  title  = {GrammarTagger: A Multilingual, Minimally-Supervised Grammar Profiler for Language Education},
  author = {Masato Hagiwara and Joshua Tanner and Keisuke Sakaguchi},
  year   = {2021},
  eprint = {2104.03190},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.03190}
}

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/2104.03190.svg)](https://codeofpaper.com/paper/2104.03190)

Discussion