Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Sep 5, 2024
1 parent bff15b2 commit c048fba
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 84 deletions.
2 changes: 1 addition & 1 deletion bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (!file_exists($wordsSouce)) {
// ------------------------------------------------
$surnames = [];
foreach ($surnamesSource as $line) {
[$surname, $pinyin] = explode(',', trim($line));
[$surname, $pinyin] = explode(':', trim($line));

$surnames[trim($surname)] = join("\t", ["", ...preg_split('/\s+/', trim($pinyin)), ""]);
}
Expand Down
166 changes: 83 additions & 83 deletions sources/surnames.txt
Original file line number Diff line number Diff line change
@@ -1,83 +1,83 @@
万俟,mò qí
尉迟,yù chí
单于,chán yú
,chóng
,
,xiǎn
,huà
,guō
,
,yān
,chóng
,
,yāo
,qín
,féng
,shí
,miào
,
,zēng
,xiè
,shè
,
,nài
,nàn
,niàn
,zàng
,
,zhái
,
,
,
,jiǎ
,
,
,
,
,zhā
,shèng
,
,
,bǎi
,piáo
,lán
,móu
,yīn
,
,niè
,yuè
,kàn
,
,qiáng
,fǒu
,dīng
,ā
,tāng
,wàn
,chē
,chēng
,shěn
,ōu
,qiú
宿,
,nán
,shàn
,
,niǎo
,
,shū
,xún
,
,yān
,
,qiǎn
,ài
,wǎn
,
,xìn
,
,
,
,ruò
,yùn
,yùn
万俟: mò qí
尉迟: yù chí
单于: chán yú
: chóng
:
: xiǎn
: huà
: guō
:
: yān
: chóng
:
: yāo
: qín
: féng
: shí
: miào
:
: zēng
: xiè
: shè
:
: nài
: nàn
: niàn
: zàng
:
: zhái
:
:
:
: jiǎ
:
:
:
:
: zhā
: shèng
:
:
: bǎi
: piáo
: lán
: móu
: yīn
:
: niè
: yuè
: kàn
:
: qiáng
: fǒu
: dīng
: ā
: tāng
: wàn
: chē
: chēng
: shěn
: ōu
: qiú
宿:
: nán
: shàn
:
: niǎo
:
: shū
: xún
:
: yān
:
: qiǎn
: ài
: wǎn
:
: xìn
:
:
:
: ruò
: yùn
: yùn

0 comments on commit c048fba

Please sign in to comment.