Loading...
Loading...
Compare original and translation side by side
scripts/generate.pyscripts/generate.pyundefinedundefinedundefinedundefinedundefinedundefined
The `--mixed` option generates realistic documents with varied structure per section:
- Some sections have paragraphs only
- Some have bullet or numbered lists
- Some have subheadings (h3) with nested content
- Some combine paragraphs with lists
`--mixed` 选项会生成具有真实感的文档,每个章节的结构各不相同:
- 部分章节仅包含段落
- 部分章节包含项目符号或编号列表
- 部分章节包含子标题(h3)及嵌套内容
- 部分章节结合了段落与列表undefinedundefinedundefinedundefined| Option | Description |
|---|---|
| Number of paragraphs (default: 3) |
| Sentences per paragraph (default: 5) |
| Approximate total word count |
| Exact character count (truncates to match) |
| Estimated LLM token count (~4 chars/token) |
| Output without paragraph breaks |
| Number of sections with headings |
| Bullet points per section |
| Use numbered lists instead of bullets |
| Realistic document with N sections, varied content types |
| Write to file instead of stdout |
| Output format: text, markdown, html (default: markdown) |
| 选项 | 描述 |
|---|---|
| 段落数量(默认值:3) |
| 每个段落的句子数量(默认值:5) |
| 近似总单词数 |
| 精确字符数(会截断内容以匹配) |
| 估算的LLM令牌数(约4个字符对应1个令牌) |
| 输出无段落分隔的内容 |
| 带标题的章节数量 |
| 每个章节的项目符号数量 |
| 使用编号列表替代项目符号 |
| 生成包含N个章节的真实文档,内容类型多样 |
| 将内容写入文件而非输出到标准输出 |
| 输出格式:text、markdown、html(默认值:markdown) |
scripts/generate.py--outputpbcopyscripts/generate.py--outputpbcopyuv run scripts/generate.py --paragraphs 3uv run scripts/generate.py --headings 3 --paragraphs 6uv run scripts/generate.py --headings 3 --bullets 5uv run scripts/generate.py --words 500 --continuous --output ~/Desktop/placeholder.txtuv run scripts/generate.py --headings 4 --bullets 5 --numbered --format htmluv run scripts/generate.py --characters 500uv run scripts/generate.py --tokens 100 --headings 2uv run scripts/generate.py --mixed 5uv run scripts/generate.py --paragraphs 3uv run scripts/generate.py --headings 3 --paragraphs 6uv run scripts/generate.py --headings 3 --bullets 5uv run scripts/generate.py --words 500 --continuous --output ~/Desktop/placeholder.txtuv run scripts/generate.py --headings 4 --bullets 5 --numbered --format htmluv run scripts/generate.py --characters 500uv run scripts/generate.py --tokens 100 --headings 2uv run scripts/generate.py --mixed 5