From 29c72c2f32f8114403a2a3abea5da58fed6f66ea Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 11 May 2007 06:48:32 +0000 Subject: [PATCH] test_icu_I18N.c --- src/reclists.c | 8 +++++--- src/test_icu_I18N.c | 20 +++++++------------- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/src/reclists.c b/src/reclists.c index f41e573..0587153 100644 --- a/src/reclists.c +++ b/src/reclists.c @@ -1,4 +1,4 @@ -/* $Id: reclists.c,v 1.16 2007-05-01 05:02:54 quinn Exp $ +/* $Id: reclists.c,v 1.17 2007-05-11 06:48:32 adam Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -41,6 +41,7 @@ struct reclist_bucket struct reclist_bucket *next; }; +#if 0 struct reclist_sortparms * reclist_sortparms_insert_field_id(NMEM nmem, struct reclist_sortparms **sortparms, @@ -67,8 +68,9 @@ reclist_sortparms_insert_field_id(NMEM nmem, return *sortparms; }; +#endif - +#if 0 struct reclist_sortparms * reclist_sortparms_insert(NMEM nmem, struct reclist_sortparms **sortparms, @@ -90,7 +92,7 @@ reclist_sortparms_insert(NMEM nmem, service->sortkeys[field_id].type, increasing); }; - +#endif struct reclist_sortparms *reclist_parse_sortparms(NMEM nmem, const char *parms) diff --git a/src/test_icu_I18N.c b/src/test_icu_I18N.c index ce795e6..a588b05 100644 --- a/src/test_icu_I18N.c +++ b/src/test_icu_I18N.c @@ -1,4 +1,4 @@ -/* $Id: test_icu_I18N.c,v 1.14 2007-05-10 12:11:42 marc Exp $ +/* $Id: test_icu_I18N.c,v 1.15 2007-05-11 06:48:32 adam Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -352,10 +352,8 @@ void test_icu_I18N_transliterator(int argc, char **argv) " Pattern Description\n" " Ranges [a-z] The lower case letters a through z\n" " Named Chars [abc123] The six characters a,b,c,1,2 and 3\n" - " String [abc{def}] chars a, b and c, and string 'def'\n -" - " Categories [\\p{Letter}] Perl General Category 'Letter'.\n -" + " String [abc{def}] chars a, b and c, and string 'def'\n" + " Categories [\\p{Letter}] Perl General Category 'Letter'.\n" " Categories [:Letter:] Posix General Category 'Letter'.\n" "\n" " Combination Example\n" @@ -382,14 +380,10 @@ void test_icu_I18N_transliterator(int argc, char **argv) " Lower; [:^Letter:] Remove (word tokenization)\n" " [:^Number:] Remove (numeric tokenization)\n" " [:^Katagana:] Remove (remove everything except Katagana)\n" - " Lower;[[:WhiteSpace:][:Punctuation:]] Remove (word tokenization -)\n" - " NFD; [:Nonspacing Mark:] Remove; NFC (removes accents from ch -aracters)\n" - " [A-Za-z]; Lower(); Latin-Katakana; Katakana-Hiragana (transform -s latin and katagana to hiragana)\n" - " [[:separator:][:start punctuation:][:initial punctuation:]] Rem -ove \n" + " Lower;[[:WhiteSpace:][:Punctuation:]] Remove (word tokenization)\n" + " NFD; [:Nonspacing Mark:] Remove; NFC (removes accents from characters)\n" + " [A-Za-z]; Lower(); Latin-Katakana; Katakana-Hiragana (transforms latin and katagana to hiragana)\n" + " [[:separator:][:start punctuation:][:initial punctuation:]] Remove \n" "\n" "see http://icu.sourceforge.net/userguide/Transform.html\n" " http://www.unicode.org/Public/UNIDATA/UCD.html\n" -- 1.7.10.4