sentencex
Version:
Sentence segmentation library
11 lines (9 loc) • 306 B
JavaScript
import BaseLanguage from '../base.js'
import GLOBAL_SENTENCE_TERMINATORS from './../terminators.js'
export default class Greek extends BaseLanguage {
static abbreviations = new Set()
static sentenceBreakRegex = new RegExp(
`[${GLOBAL_SENTENCE_TERMINATORS.concat([';']).join('')}]+`,
'g'
)
}