Class: PragmaticSegmenter::Languages::Greek::SentenceBoundaryPunctuation
- Inherits:
-
SentenceBoundaryPunctuation
- Object
- SentenceBoundaryPunctuation
- PragmaticSegmenter::Languages::Greek::SentenceBoundaryPunctuation
- Defined in:
- lib/pragmatic_segmenter/languages/greek.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
18 19 20 |
# File 'lib/pragmatic_segmenter/languages/greek.rb', line 18 def split text.scan(SENTENCE_BOUNDARY) end |