Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tlc121 authored Sep 28, 2022
1 parent aacad96 commit 7296747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ You also need to split all characters into train characters and val characters w
> val_unis: \['8E21', ...]
### 2. Content-Reference mapping
It is a dict you have to create by yourself before start, you can find the full CR-mapping algorithm in `appendix`. Elements in dict also need to be converted into unicode format. Please assure keys of CR mapping contain both of `train_unis` and `val_unis`.
It is a dict you have to create by yourself before start, you can find the full CR-mapping algorithm in `appendix` and using the decompose dictionary of [LFFont](https://github.com/clovaai/lffont/blob/master/meta/chn_decompose.json). Elements in dict also need to be converted into unicode format. Please assure keys of CR mapping contain both of `train_unis` and `val_unis`.
> {content1: \[ref1, ref2, ref3, ...], content2: \[ref1, ref2, ref3, ...], ...}
example(in utf-8 format):
Expand Down

0 comments on commit 7296747

Please sign in to comment.