text_clean
Clean text by removing blank lines, stripping whitespace, and deleting duplicate lines for normalized output.
Instructions
清理文本:去除多余空行、首尾空白、重复行等。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 要清理的文本 | |
| remove_blank_lines | No | 删除空行(默认 true) | |
| remove_duplicates | No | 删除重复行(默认 false) | |
| strip_lines | No | 去除每行首尾空白(默认 true) | |
| normalize_spaces | No | 将连续空格压缩为单个(默认 false) |