Skip to content

Commit

Permalink
update 20230731
Browse files Browse the repository at this point in the history
  • Loading branch information
davezhao committed Jul 31, 2023
1 parent c5ddbd7 commit 9423245
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,13 +509,13 @@ def generate_shuangpin_dict(schema_config: SchemaConfig, outpath: str):
fout.write(f'encoder:\n')
fout.write(f' rules:\n')
fout.write(f' - length_equal: 2\n')
fout.write(f' formula: "AaAbBaBb"\n')
fout.write(f' formula: "AaAbBaBbAaBa"\n')
fout.write(f' - length_equal: 3\n')
fout.write(f' formula: "AaAbBaBbCaCb"\n')
fout.write(f' formula: "AaAbBaBbCaCbAaCa"\n')
fout.write(f' - length_equal: 4\n')
fout.write(f' formula: "AaAbBaBbCaCbDaDb"\n')
fout.write(f' formula: "AaAbBaBbCaCbDaDbAaDa"\n')
fout.write(f' - length_equal: 5\n')
fout.write(f' formula: "AaAbBaBbCaCbDaDbEaEb"\n')
fout.write(f' formula: "AaAbBaBbCaCbDaDbEaEbAaEa"\n')
fout.write(f' - length_equal: 6\n')
fout.write(f' formula: "AaAbBaBbCaCbDaDbEaEbFaFb"\n')
fout.write(f' - length_equal: 7\n')
Expand Down

0 comments on commit 9423245

Please sign in to comment.