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/x09.php
Normal file
20
resources/transliteration-data/x09.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
$base = array(
|
||||
0x00 => NULL, 'N', 'N', 'H', NULL, 'a', 'aa', 'i', 'ii', 'u', 'uu', 'R', 'L', 'eN', 'e', 'e',
|
||||
0x10 => 'ai', 'oN', 'o', 'o', 'au', 'k', 'kh', 'g', 'gh', 'ng', 'c', 'ch', 'j', 'jh', 'ny', 'tt',
|
||||
0x20 => 'tth', 'dd', 'ddh', 'nn', 't', 'th', 'd', 'dh', 'n', 'nnn', 'p', 'ph', 'b', 'bh', 'm', 'y',
|
||||
0x30 => 'r', 'rr', 'l', 'l', 'lll', 'v', 'sh', 'ss', 's', 'h', NULL, NULL, '\'', '\'', 'aa', 'i',
|
||||
0x40 => 'ii', 'u', 'uu', 'R', 'RR', 'eN', 'e', 'e', 'ai', 'oN', 'o', 'o', 'au', '', NULL, NULL,
|
||||
0x50 => 'AUM', '\'', '\'', '`', '\'', NULL, NULL, NULL, 'q', 'khh', 'ghh', 'z', 'dddh', 'rh', 'f', 'yy',
|
||||
0x60 => 'RR', 'LL', 'L', 'LL', ' / ', ' // ', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
|
||||
0x70 => '.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
|
||||
0x80 => NULL, 'N', 'N', 'H', NULL, 'a', 'aa', 'i', 'ii', 'u', 'uu', 'R', 'RR', NULL, NULL, 'e',
|
||||
0x90 => 'ai', NULL, NULL, 'o', 'au', 'k', 'kh', 'g', 'gh', 'ng', 'c', 'ch', 'j', 'jh', 'ny', 'tt',
|
||||
0xA0 => 'tth', 'dd', 'ddh', 'nn', 't', 'th', 'd', 'dh', 'n', NULL, 'p', 'ph', 'b', 'bh', 'm', 'y',
|
||||
0xB0 => 'r', NULL, 'l', NULL, NULL, NULL, 'sh', 'ss', 's', 'h', NULL, NULL, '\'', NULL, 'aa', 'i',
|
||||
0xC0 => 'ii', 'u', 'uu', 'R', 'RR', NULL, NULL, 'e', 'ai', NULL, NULL, 'o', 'au', '', NULL, NULL,
|
||||
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, '+', NULL, NULL, NULL, NULL, 'rr', 'rh', NULL, 'yy',
|
||||
0xE0 => 'RR', 'LL', 'L', 'LL', NULL, NULL, '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
|
||||
0xF0 => 'r\'', 'r`', 'Rs', 'Rs', '1/', '2/', '3/', '4/', ' 1 - 1/', '/16', '', NULL, NULL, NULL, NULL, NULL,
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue