-/* $Id: icu_I18N.c,v 1.15 2007-05-16 19:12:00 marc Exp $
+/* $Id: icu_I18N.c,v 1.16 2007-05-16 19:50:01 marc Exp $
Copyright (c) 2006-2007, Index Data.
This file is part of Pazpar2.
step->buf16, src16, status);
break;
case ICU_chain_step_type_tokenize:
- // step->more_tokens
- // = icu_tokenizer_next_token(step->u.tokenizer,
- // step->buf16, status);
+ icu_tokenizer_attach(step->u.tokenizer, src16, status);
+ step->more_tokens
+ = icu_tokenizer_next_token(step->u.tokenizer,
+ step->buf16, status);
break;
default:
return 0;
-/* $Id: test_icu_I18N.c,v 1.20 2007-05-16 19:12:00 marc Exp $
+/* $Id: test_icu_I18N.c,v 1.21 2007-05-16 19:50:01 marc Exp $
Copyright (c) 2006-2007, Index Data.
This file is part of Pazpar2.
/* step = icu_chain_insert_step(chain, ICU_chain_step_type_normalize, */
/* (const uint8_t *) "[:Control:] Any-Remove", */
/* &status); */
-/* step = icu_chain_insert_step(chain, ICU_chain_step_type_tokenize, */
-/* (const uint8_t *) "w", */
-/* &status); */
+ step = icu_chain_insert_step(chain, ICU_chain_step_type_tokenize,
+ (const uint8_t *) "l",
+ &status);
/* step = icu_chain_insert_step(chain, ICU_chain_step_type_normalize, */
/* (const uint8_t *) */
/* "[[:WhiteSpace:][:Punctuation:]] Any-Remove", */
step = icu_chain_insert_step(chain, ICU_chain_step_type_display,
(const uint8_t *)"",
&status);
- step = icu_chain_insert_step(chain, ICU_chain_step_type_normalize,
- (const uint8_t *) "Lower",
- &status);
- step = icu_chain_insert_step(chain, ICU_chain_step_type_norm,
- (const uint8_t *)"",
- &status);
+/* step = icu_chain_insert_step(chain, ICU_chain_step_type_normalize, */
+/* (const uint8_t *) "Lower", */
+/* &status); */
+/* step = icu_chain_insert_step(chain, ICU_chain_step_type_norm, */
+/* (const uint8_t *)"", */
+/* &status); */
/* step = icu_chain_insert_step(chain, ICU_chain_step_type_sort, */
/* (const uint8_t *)"", */
/* &status); */