GrammarTagger:一个用于语言教育的多语言、最少监督的语法分析器
GrammarTagger: A Multilingual, Minimally-Supervised Grammar Profiler for Language Education
摘要:
我们提出了GrammarTagger,一个开源的语法分析器,给定一个输入文本,确定有用的语言教育的语法功能。该模型架构使其能够从少量标注了span及其标签的文本中学习,这1)实现了更简单,更直观的注释,2)支持重叠span,3)与在选区/依赖解析上定义的复杂手工规则相比,不易发生错误传播。我们表明,我们可以引导一个语法分析器模型与$F_1 \approx 0.6$从只有几百个句子在英语和中文,这可以进一步提高通过学习多语言模型。通过GrammarTagger,我们还建立了Octanove Learn,一个根据阅读难度和语法特征索引的语言学习材料的搜索引擎。代码和预训练模型在\url{https://github.com/octanove/grammartagger}上公开提供。
英文摘要:
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. 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}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。