{"repo":"infinilabs/analysis-pinyin","free":true,"listed":false,"github":"https://github.com/infinilabs/analysis-pinyin","clone":"git clone https://github.com/infinilabs/analysis-pinyin.git","description":"🛵 This Pinyin Analysis plugin is used to do conversion between Chinese characters and Pinyin.","language":"Java","stars":3097,"topics":["pinyin","pinyin-analysis","conversion","elasticsearch","analyzer","easysearch","opensearch"],"license":"Apache-2.0","category":"data-pipelines","readme_excerpt":"Pinyin Analysis for Elasticsearch and OpenSearch ================================== This Pinyin Analysis plugin facilitates the conversion between Chinese characters and Pinyin. It supports major versions of Elasticsearch and OpenSearch. Maintained and supported with ❤️ by INFINI Labs. The plugin comprises an analyzer named pinyin , a tokenizer named pinyin , and a token filter named pinyin . Optional Parameters - keep first letter : When enabled, retains only the first letter of each Chinese character. For example, 刘德华 becomes ldh . Default: true. - keep separate first letter : When enabled, keeps the first letters of each Chinese character separately. For example, 刘德华 becomes l , d , h . Default: false. Note: This may increase query fuzziness due to term frequency. - limit first letter length : Sets the maximum length of the first letter result. Default: 16. - keep full pinyin : When enabled, preserves the full Pinyin of each Chinese character. For example, 刘德华 becomes [ liu , de , hua ]. Default: true. - keep joined full pinyin : When enabled, joins the full Pinyin of each Chinese character. For example, 刘德华 becomes [ liudehua ]. Default: false. - keep none chinese : Keeps non-Chinese letters or numbers in the result. Default: true. - keep none chinese together : Keeps non-Chinese letters together. Default: true. For example, DJ音乐家 becomes DJ , yin , yue , jia . When set to false , DJ音乐家 becomes D , J , yin , yue , jia . Note: keep none chinese should be enabled first. - k","default_branch":null,"files":null,"tree":[],"storefront":"/r/infinilabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/infinilabs/analysis-pinyin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}