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
This commit is contained in:
parent
eb006c064d
commit
d0f0507c99
182 changed files with 3902 additions and 5 deletions
20
resources/transliteration-data/x0f.php
Normal file
20
resources/transliteration-data/x0f.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?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,
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue