ai-content-maker/.venv/Lib/site-packages/pysbd/lang/burmese.py

14 lines
371 B
Python
Raw Normal View History

2024-05-03 04:18:51 +03:00
# -*- coding: utf-8 -*-
from pysbd.abbreviation_replacer import AbbreviationReplacer
from pysbd.lang.common import Common, Standard
class Burmese(Common, Standard):
iso_code = 'my'
SENTENCE_BOUNDARY_REGEX = r'.*?[။၏!\?]|.*?$'
Punctuations = ['', '', '?', '!']
class AbbreviationReplacer(AbbreviationReplacer):
SENTENCE_STARTERS = []