PySBD: Pragmatic Sentence Boundary Disambiguation
2020-10-19EMNLP (NLPOSS) 2020Code Available1· sign in to hype
Nipun Sadvilkar, Mark Neumann
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/nipunsadvilkar/pySBDOfficialIn papernone★ 909
Abstract
In this paper, we present a rule-based sentence boundary disambiguation Python package that works out-of-the-box for 22 languages. We aim to provide a realistic segmenter which can provide logical sentences even when the format and domain of the input text is unknown. In our work, we adapt the Golden Rules Set (a language-specific set of sentence boundary exemplars) originally implemented as a ruby gem - pragmatic_segmenter - which we ported to Python with additional improvements and functionality. PySBD passes 97.92% of the Golden Rule Set exemplars for English, an improvement of 25% over the next best open-source Python tool.