mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 00:03:03 +01:00
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
|
// -*- 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:] ;"
|
||
|
|
||
|
}
|
||
|
}
|