diff --git a/StyleText/README_ch.md b/StyleText/README_ch.md index eb557ff24547f228610ffa2cbbaf993e2b4569c3..d8b072943dceef390ea6cd3c6c354c8ed6787d39 100644 --- a/StyleText/README_ch.md +++ b/StyleText/README_ch.md @@ -102,7 +102,7 @@ python3 -m tools.synth_image -c configs/config.yml --style_image examples/style_ * `CorpusGenerator`: * `method`:语料生成方法,目前有`FileCorpus`和`EnNumCorpus`可选。如果使用`EnNumCorpus`,则不需要填写其他配置,否则需要修改`corpus_file`和`language`; * `language`:语料的语种; - * `corpus_file`: 语料文件路径。 + * `corpus_file`: 语料文件路径。语料文件应使用文本文件。语料生成器首先会将语料按行切分,之后每次随机选取一行。 Style-Text也提供了一批中英韩5万张通用场景数据用作文本风格图像,便于合成场景丰富的文本图像,下图给出了一些示例。