lib/pragmatic_segmenter/languages/armenian.rb in pragmatic_segmenter-0.0.3 vs lib/pragmatic_segmenter/languages/armenian.rb in pragmatic_segmenter-0.0.4

- old
+ new

@@ -11,9 +11,12 @@ def punctuation_array PragmaticSegmenter::Languages::Armenian::Punctuation.new.punct end end + class Cleaner < PragmaticSegmenter::Cleaner + end + class SentenceBoundaryPunctuation < PragmaticSegmenter::SentenceBoundaryPunctuation SENTENCE_BOUNDARY = /.*?[։՜:]|.*?$/ def split text.scan(SENTENCE_BOUNDARY)