2001-10-26 05:41:16 +00:00
|
|
|
|
// -*- Coding: utf-8; -*-
|
|
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 18:10:15 +00:00
|
|
|
|
// Copyright (c) 1999-2002, International Business Machines
|
2001-10-26 05:41:16 +00:00
|
|
|
|
// Corporation and others. All Rights Reserved.
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
|
// THIS IS A MACHINE-GENERATED FILE
|
2002-07-27 18:10:15 +00:00
|
|
|
|
// Tool: dumpicurules.bat
|
|
|
|
|
// Source: ../../../impl/data/Transliterator_Any_Publishing.txt
|
|
|
|
|
// Date: Sat Jul 27 10:31:01 2002
|
2001-10-26 05:41:16 +00:00
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
// Any_Publishing
|
|
|
|
|
|
2002-02-09 00:27:09 +00:00
|
|
|
|
t_Any_Publishing {
|
2001-10-26 05:41:16 +00:00
|
|
|
|
Rule {
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
// Test case
|
|
|
|
|
// "The" "(quick)" ('brown') `fox' ` jumped -- "over?"
|
|
|
|
|
|
|
|
|
|
// Variables
|
|
|
|
|
|
2001-11-07 18:50:25 +00:00
|
|
|
|
"$single = \\\' ;"
|
2001-10-26 05:41:16 +00:00
|
|
|
|
"$space = ' ' ;"
|
2001-11-07 18:50:25 +00:00
|
|
|
|
"$double = \\\" ;"
|
|
|
|
|
"$back = \\\` ;"
|
2001-10-26 05:41:16 +00:00
|
|
|
|
"$tab = '\u0008' ;"
|
|
|
|
|
"$makeRight = [[:Z:][:Ps:][:Pi:]$] ;"
|
|
|
|
|
|
|
|
|
|
// fix UNIX quotes
|
|
|
|
|
|
|
|
|
|
"$back $back > “ ;"
|
|
|
|
|
"$back > ‘ ;"
|
|
|
|
|
|
|
|
|
|
// fix typewriter quotes, by context
|
|
|
|
|
|
|
|
|
|
"$makeRight {$double} <> “ ;"
|
|
|
|
|
"$double <> ” ;"
|
|
|
|
|
|
|
|
|
|
"$makeRight {$single} <> ‘ ;"
|
|
|
|
|
"$single <> ’;"
|
|
|
|
|
|
|
|
|
|
// fix multiple spaces and hyphens
|
|
|
|
|
|
|
|
|
|
"$space {$space} > ;"
|
|
|
|
|
"'--' <> — ;"
|
|
|
|
|
}
|
|
|
|
|
}
|