<commit_before># `ansiwrap`

ANSI escape sequence / unicode aware text wrapping for Go.

[Code of Conduct](./.github/CONDUCT.md) |
[Contribution Guidelines](./.github/CONTRIBUTING.md)

[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/manifoldco/ansiwrap)
[![Travis](https://img.shields.io/travis/manifoldco/ansiwrap/master.svg)](https://travis-ci.org/manifoldco/ansiwrap)
[![Go Report Card](https://goreportcard.com/badge/github.com/manifoldco/ansiwrap)](https://goreportcard.com/report/github.com/manifoldco/ansiwrap)
[![License](https://img.shields.io/badge/license-BSD-blue.svg)](./LICENSE.md)

## Why `ansiwrap`?

![](./.img/ansiwrap_comparison.png)

> Old text wrappers can't handle ANSI escape sequence formatting,
> but `ansiwrap` knows what to do!

## Features<commit_msg>Add release badge to README<commit_after># `ansiwrap`

ANSI escape sequence / unicode aware text wrapping for Go.

[Code of Conduct](./.github/CONDUCT.md) |
[Contribution Guidelines](./.github/CONTRIBUTING.md)

[![GitHub release](https://img.shields.io/github/tag/manifoldco/ansiwrap.svg?label=latest)](https://github.com/manifoldco/ansiwrap/releases)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/manifoldco/ansiwrap)
[![Travis](https://img.shields.io/travis/manifoldco/ansiwrap/master.svg)](https://travis-ci.org/manifoldco/ansiwrap)
[![Go Report Card](https://goreportcard.com/badge/github.com/manifoldco/ansiwrap)](https://goreportcard.com/report/github.com/manifoldco/ansiwrap)
[![License](https://img.shields.io/badge/license-BSD-blue.svg)](./LICENSE.md)

## Why `ansiwrap`?

![](./.img/ansiwrap_comparison.png)

> Old text wrappers can't handle ANSI escape sequence formatting,
> but `ansiwrap` knows what to do!

## Features
{'fraction_non_alphanumeric': 0.18483674598782512, 'fraction_numerical': 0.0, 'mean_word_length': 5.457142857142857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 16, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4057667', 'n_tokens_mistral': 706, 'n_tokens_neox': 645, 'n_words': 87}