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

14 lines
361 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# -*- coding: utf-8 -*-
from pysbd.abbreviation_replacer import AbbreviationReplacer
from pysbd.lang.common import Common, Standard
class Armenian(Common, Standard):
iso_code = 'hy'
SENTENCE_BOUNDARY_REGEX = r'.*?[։՜:]|.*?$'
Punctuations = ['։', '՜', ':']
class AbbreviationReplacer(AbbreviationReplacer):
SENTENCE_STARTERS = []