d0f0507c99
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
21 lines
1.6 KiB
PHP
21 lines
1.6 KiB
PHP
<?php
|
|
|
|
$base = array(
|
|
0x00 => 'AUM', '', '', '', '', '', '', '', ' // ', ' * ', '', '-', ' / ', ' / ', ' // ', ' -/ ',
|
|
0x10 => ' +/ ', ' X/ ', ' /XX/ ', ' /X/ ', ',', '', '', '', '', '', '', '', '', '', '', '',
|
|
0x20 => '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '.5', '1.5', '2.5', '3.5', '4.5', '5.5',
|
|
0x30 => '6.5', '7.5', '8.5', '-.5', '+', '*', '^', '_', '', '~', NULL, ']', '[[', ']]', '', '',
|
|
0x40 => 'k', 'kh', 'g', 'gh', 'ng', 'c', 'ch', 'j', NULL, 'ny', 'tt', 'tth', 'dd', 'ddh', 'nn', 't',
|
|
0x50 => 'th', 'd', 'dh', 'n', 'p', 'ph', 'b', 'bh', 'm', 'ts', 'tsh', 'dz', 'dzh', 'w', 'zh', 'z',
|
|
0x60 => '\'', 'y', 'r', 'l', 'sh', 'ssh', 's', 'h', 'a', 'kss', 'r', NULL, NULL, NULL, NULL, NULL,
|
|
0x70 => NULL, 'aa', 'i', 'ii', 'u', 'uu', 'R', 'RR', 'L', 'LL', 'e', 'ee', 'o', 'oo', 'M', 'H',
|
|
0x80 => 'i', 'ii', '', '', '', '', '', '', '', '', '', '', NULL, NULL, NULL, NULL,
|
|
0x90 => 'k', 'kh', 'g', 'gh', 'ng', 'c', 'ch', 'j', NULL, 'ny', 'tt', 'tth', 'dd', 'ddh', 'nn', 't',
|
|
0xA0 => 'th', 'd', 'dh', 'n', 'p', 'ph', 'b', 'bh', 'm', 'ts', 'tsh', 'dz', 'dzh', 'w', 'zh', 'z',
|
|
0xB0 => '\'', 'y', 'r', 'l', 'sh', 'ss', 's', 'h', 'a', 'kss', 'w', 'y', 'r', NULL, 'X', ' :X: ',
|
|
0xC0 => ' /O/ ', ' /o/ ', ' \\o\\ ', ' (O) ', '', '', '', '', '', '', '', '', '', NULL, NULL, '',
|
|
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
|
|
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
|
|
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
|
|
);
|