错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

An MLM Decoding Space Enhancement for Legal Document Proofreading

  • Jinlong Liu,
  • Xudong Luo

摘要

Legal documents demand high precision and accuracy in language use, leaving no room for spelling, redundancy, miss, and disorder errors. To address this issue, this paper innovatively expands the decoding space of Masked Language Model (MLM) by introducing “insertion” and “deletion” editing labels, transforming MLM from handling only fixed-length spelling errors to flexibly addressing variable-length grammatical errors. Meanwhile, to tackle the data sparsity issue, we designed and implemented a rule-based data augmentation strategy. Our experiments show that our model outperforms state-of-the-art baselines on a dataset of annotated legal documents, showing its potential as a valuable tool in legal document preparation and revision processes.