Sha256: 886e697373394d41360f94f69657ab00e8ad4a3bb177db219bfbd350da94060f

Contents?: true

Size: 1.06 KB

Versions: 3

Compression:

Stored size: 1.06 KB

Contents

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE supplementalData SYSTEM "../../common/dtd/ldmlSupplemental.dtd">
<supplementalData>
	<transforms>
		<transform source="Han" target="Spacedhan" direction="both" visibility="internal">
			<comment># Only intended for internal use</comment>
			<tRule>:: fullwidth-halfwidth;</tRule>
			<tRule>。 → '.';</tRule>
			<tRule>$terminalPunct = [\.\,\:\;\?\!.,:?!。、;[:Pe:][:Pf:]];</tRule>
			<tRule>$initialPunct = [:Ps:][:Pi:];</tRule>
			<comment># add space between any Han or terminal punctuation and letters, and</comment>
			<comment># between letters and Han or initial punct</comment>
			<tRule>[[:Ideographic:] $terminalPunct] {} [:Letter:] → ' ' ;</tRule>
			<tRule>[:Letter:] [:Mark:]* {} [[:Ideographic:] $initialPunct] → ' ' ;</tRule>
			<comment># remove spacing between ideographs and other letters</comment>
			<tRule>← [:Ideographic:] { ' ' } [:Letter:] ;</tRule>
			<tRule>← [:Letter:] [:Mark:]* { ' ' } [:Ideographic:] ;</tRule>
		</transform>
	</transforms>
</supplementalData>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
i18n-0.3.6.pre vendor/cldr/common/transforms/Han-Spacedhan.xml
i18n-0.3.5 vendor/cldr/common/transforms/Han-Spacedhan.xml
i18n-0.3.4 vendor/cldr/common/transforms/Han-Spacedhan.xml