File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,9 @@ export async function processGuifan(
150150 content : definitionContentsForReading ,
151151 } ) ;
152152 const zhuyinTermEntry = new TermEntry ( term . headword )
153- . setReading ( p2z ( reading ?? "" ) . replaceAll ( " " , "" ) )
153+ . setReading (
154+ p2z ( ( reading ?? "" ) . replaceAll ( "-" , " " ) ) . replaceAll ( " " , "" )
155+ )
154156 . addDetailedDefinition ( {
155157 type : "structured-content" ,
156158 content : definitionContentsForReading ,
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ export async function processHanyu7(
183183 content : definitionContentsForReading ,
184184 } ) ;
185185 const zhuyinTermEntry = new TermEntry ( term . headword )
186- . setReading ( p2z ( reading ) . replaceAll ( " " , "" ) )
186+ . setReading ( p2z ( reading . replaceAll ( "-" , " " ) ) . replaceAll ( " " , "" ) )
187187 . addDetailedDefinition ( {
188188 type : "structured-content" ,
189189 content : definitionContentsForReading ,
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ import { processGuifan } from "./dics/guifan/guifan.ts";
44import { processHanyu7 } from "./dics/hanyu7/hanyu7.ts" ;
55
66const versions = {
7- guifan : "2025/12/16.1 " ,
8- hanyu7 : "2025/12/16.1 " ,
7+ guifan : "2025/12/16.2 " ,
8+ hanyu7 : "2025/12/16.2 " ,
99} ;
1010
1111const guifanPinyinDic = new Dictionary ( { fileName : "guifan-pinyin.zip" } ) ;
You can’t perform that action at this time.
0 commit comments