Class: PragmaticSegmenter::Languages::Japanese::BetweenPunctuation

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

Constant Summary collapse

BETWEEN_QUOTE_JA_REGEX =
/\u{300c}(?>[^\u{300c}\u{300d}\\]+|\\{2}|\\.)*\u{300d}/
BETWEEN_PARENS_JA_REGEX =
/\u{ff08}(?>[^\u{ff08}\u{ff09}\\]+|\\{2}|\\.)*\u{ff09}/

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