Class: PragmaticSegmenter::Languages::Armenian::SentenceBoundaryPunctuation
- Inherits:
-
SentenceBoundaryPunctuation
- Object
- SentenceBoundaryPunctuation
- PragmaticSegmenter::Languages::Armenian::SentenceBoundaryPunctuation
- Defined in:
- lib/pragmatic_segmenter/languages/armenian.rb
Constant Summary collapse
- SENTENCE_BOUNDARY =
/.*?[։՜:]|.*?$/
Constants inherited from SentenceBoundaryPunctuation
SentenceBoundaryPunctuation::SENTENCE_BOUNDARY_REGEX
Instance Attribute Summary
Attributes inherited from SentenceBoundaryPunctuation
Instance Method Summary collapse
Methods inherited from SentenceBoundaryPunctuation
Constructor Details
This class inherits a constructor from PragmaticSegmenter::SentenceBoundaryPunctuation
Instance Method Details
#split ⇒ Object
22 23 24 |
# File 'lib/pragmatic_segmenter/languages/armenian.rb', line 22 def split text.scan(SENTENCE_BOUNDARY) end |