The Wayback Machine - https://web.archive.org/web/20230312210520/https://github.com/waldyrious/semantic-linebreaker
Skip to content

waldyrious/semantic-linebreaker

gh-pages
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

semantic-linebreaker

A utility to help you apply semantic linebreaks to any text.

Try it here: http://waldyrious.github.io/semantic-linebreaker

Currently it's simply a dumb pattern-replacement tool, as in merely adds line-breaks indiscriminately after a few punctuation marks (.,:;!?) and before some conjunctions (but, and, or...). Better heuristics are evidently needed. Check the wiki for some potentially useful reesources. Pull requests, issue reports or wiki edits are welcome!