genshin-db icon indicating copy to clipboard operation
genshin-db copied to clipboard

romanization and normalize letters

Open theBowja opened this issue 2 years ago • 4 comments

the following searches don't work. we should make it work. genshindb('eter', { queryLanguages: ['Spanish'] }); // match against Éter

genshindb('eurua', { queryLanguages: ['Japanese'] }); // match against エウルア

genshindb('Fēng yuán wàn yè', { queryLanguages: ['ChineseSimplified'] }); // match against 枫原万叶

theBowja avatar Sep 05 '21 19:09 theBowja

genshindb('Fēng yuán wàn yè', { queryLanguages: ['ChineseSimplified'] }); // match against 枫原万叶

In fact, Chinese people don’t use this kind of pinyin to query data.S~GMZ)Q{3AIJD(HZ9C{STGX

Fēng yuán wàn yè
 枫   原   万  叶

This is just for phonetic. It is not very easy to input directly through the computer.

But you can consider this

genshindb('feng yuan wan ye', { queryLanguages: ['ChineseSimplified'] }); // match against 枫原万叶 Pinyin without Tones
genshindb('fengyuanwanye', { queryLanguages: ['ChineseSimplified'] }); // match against 枫原万叶 Pinyin without Tones, space some times may not be necessary, Those who are proficient in Chinese should be able to recognize it easily
genshindb('fywy', { queryLanguages: ['ChineseSimplified'] }); // match against 枫原万叶`  Simplified Pinyin, Often used to increase the speed of typing long fixed nouns

Screenshot of computer input ↓

image

NepPure avatar Sep 08 '21 16:09 NepPure

@NepPure For 女 as example, is it more common people to use "yu" or "yv" or both?

theBowja avatar Sep 14 '21 19:09 theBowja

The only correct way to enter 女 is "nv"

image

NepPure avatar Sep 14 '21 23:09 NepPure

Usually we use v to refer to ü

女 nǚ

NepPure avatar Sep 14 '21 23:09 NepPure