nlsplit

split natural language text in chunks at reasonable language boundaries
git clone https://a3nm.net/git/nlsplit/
Log | Files | Refs | README

commit 7335282a996b413385259ca6e5d4951258d5d49c
parent 8aa81cfe5e7313c5dc14131cc970504b8f3bcd55
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sat, 15 Oct 2011 01:49:12 +0200

indentation

Diffstat:
nlsplit.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nlsplit.c b/nlsplit.c @@ -278,8 +278,8 @@ int split() { } if (indent != last_indent) - push(points, hd, &tl, INDENT_CHANGE_SCORE + abs(indent - - last_indent), offset + pos - l_line, offset); + push(points, hd, &tl, INDENT_CHANGE_SCORE + abs(indent - + last_indent), offset + pos - l_line, offset); if (!n_words && !l_first_word) /* first char of the line */ if (!(c >= 'a' && c <= 'z'))