Crates.io | sentencebreak |
lib.rs | sentencebreak |
version | 0.1.0 |
source | src |
created_at | 2023-05-19 22:35:11.648484 |
updated_at | 2023-05-19 22:35:11.648484 |
description | A tool to add sentence breaks to text. |
homepage | https://github.com/robinlovelace/sentencebreak |
repository | https://github.com/robinlovelace/sentencebreak |
max_upload_size | |
id | 869134 |
size | 6,918 |
Command line tool to break lines at sentences. It takes an input file, e.g. README.md, and outputs a new file that has the same contents but with line breaks added after each sentence:
cargo run README.md -o README_sentencebreaks.md
You can set the output to be the same file as the input by omitting the -o
flag:
cargo run README.md