C# Class Wox.Infrastructure.Alphabet

Afficher le fichier Open project: Wox-launcher/Wox Class Usage Examples

Méthodes publiques

Méthode Description
Acronym ( string pinyin ) : string
ContainsChinese ( string word ) : bool
Pinyin ( string word ) : string[]

replace chinese character with pinyin, non chinese character won't be modified should be word or sentence, instead of single character. e.g. 微软

PinyinComination ( string characters ) : string[][]

Private Methods

Méthode Description
Alphabet ( ) : System
Combination ( string array1, string array2 ) : string[]

Method Details

Acronym() public static méthode

public static Acronym ( string pinyin ) : string
pinyin string
Résultat string

ContainsChinese() public static méthode

public static ContainsChinese ( string word ) : bool
word string
Résultat bool

Pinyin() public static méthode

replace chinese character with pinyin, non chinese character won't be modified should be word or sentence, instead of single character. e.g. 微软
public static Pinyin ( string word ) : string[]
word string
Résultat string[]

PinyinComination() public static méthode

public static PinyinComination ( string characters ) : string[][]
characters string should be word or sentence, instead of single character. e.g. 微软
Résultat string[][]