Class: PragmaticSegmenter::Languages::Chinese::BetweenPunctuation

Inherits:
BetweenPunctuation show all
Defined in:
lib/pragmatic_segmenter/languages/chinese.rb

Constant Summary collapse

BETWEEN_DOUBLE_ANGLE_QUOTATION_MARK_REGEX =
/《(?>[^》\\]+|\\{2}|\\.)*》/
BETWEEN_L_BRACKET_REGEX =
/「(?>[^」\\]+|\\{2}|\\.)*」/

Constants inherited from BetweenPunctuation

BetweenPunctuation::BETWEEN_DOUBLE_QUOTES_REGEX, BetweenPunctuation::BETWEEN_EM_DASHES_REGEX, BetweenPunctuation::BETWEEN_PARENS_REGEX, BetweenPunctuation::BETWEEN_QUOTE_ARROW_REGEX, BetweenPunctuation::BETWEEN_QUOTE_SLANTED_REGEX, BetweenPunctuation::BETWEEN_SINGLE_QUOTES_REGEX, BetweenPunctuation::BETWEEN_SINGLE_QUOTE_SLANTED_REGEX, BetweenPunctuation::BETWEEN_SQUARE_BRACKETS_REGEX, BetweenPunctuation::WORD_WITH_LEADING_APOSTROPHE

Instance Attribute Summary

Attributes inherited from BetweenPunctuation

#text

Method Summary

Methods inherited from BetweenPunctuation

#initialize, #replace

Constructor Details

This class inherits a constructor from PragmaticSegmenter::BetweenPunctuation