blob: 14140cc4655d81eb46a2738ddc257fa8051adfde [file] [log] [blame]
 // -*- Coding: utf-8; -*-
//--------------------------------------------------------------------
// Copyright (c) 1999-2004, International Business Machines
// Corporation and others. All Rights Reserved.
//--------------------------------------------------------------------
// THIS IS A MACHINE-GENERATED FILE
// Tool: \icu4j\src\com\ibm\icu\dev\tool\translit\dumpICURules.bat
// Source: \icu4j\src\com\ibm\icu\impl\data/Transliterator_Han_Spacedhan.txt
// Date: Fri May 28 17:07:31 2004
//--------------------------------------------------------------------
// Han_Spacedhan
t_Hani_SpHan {
Rule {
//--------------------------------------------------------------------
//--------------------------------------------------------------------
// Only intended for internal use
":: fullwidth-halfwidth;"
"。 > '.';"
"$terminalPunct = [\\\.\\\,\\\:\\\;\\\?\\\!.,:?!。、;[:Pe:][:Pf:]];"
"$initialPunct = [:Ps:][:Pi:];"
// add space between any Han or terminal punctuation and letters, and
// between letters and Han or initial punct
"[[:Ideographic:] $terminalPunct] {} [:Letter:] > ' ' ;"
"[:Letter:] [:Mark:]* {} [[:Ideographic:] $initialPunct] > ' ' ;"
// remove spacing between ideographs and other letters
"< [:Ideographic:] { ' ' } [:Letter:] ;"
"< [:Letter:] [:Mark:]* { ' ' } [:Ideographic:] ;"
}
}