cops/resources/transliteration-data/xfb.php
George Litos d0f0507c99 Transliteration of search text
with the help of drupal transliteration module (https://www.drupal.org/project/transliteration)

please set:
$config ['cops_normalized_search'] = "1";

Issue 49 (https://github.com/seblucas/cops/issues/49) fixed
Goal : search for Honore should return books written by Honoré de Balzac
achieved
2015-05-28 15:16:03 +03:00

21 lines
1.4 KiB
PHP

<?php
$base = array(
0x00 => 'ff', 'fi', 'fl', 'ffi', 'ffl', 'st', 'st', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x10 => NULL, NULL, NULL, 'mn', 'me', 'mi', 'vn', 'mkh', NULL, NULL, NULL, NULL, NULL, 'yi', '', 'ay',
0x20 => '`', '', 'd', 'h', 'k', 'l', 'm', 'm', 't', '+', 'sh', 's', 'sh', 's', 'a', 'a',
0x30 => '', 'b', 'g', 'd', 'h', 'v', 'z', NULL, 't', 'y', 'k', 'k', 'l', NULL, 'l', NULL,
0x40 => 'n', 'n', NULL, 'p', 'p', NULL, 'ts', 'ts', 'r', 'sh', 't', 'vo', 'b', 'k', 'p', 'l',
0x50 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0x60 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0x70 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0x80 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0x90 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0xA0 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0xB0 => '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xC0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xD0 => NULL, NULL, NULL, '', '', '', '', '', '', '', '', '', '', '', '', '',
0xE0 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0xF0 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
);