README ¶ Installation go get github.com/casper75/humaize-ai Usage package main import ( "fmt" "github.com/casper75/humaize-ai" ) func main() { hm := NewHumanizer() test = "Hello\u200b\xa0World! " result := hm.HumanizeString(test) fmt.Println(result) } Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type CharRange type Humanizer func NewHumanizer() *Humanizer func (h *Humanizer) Humanize(data []byte) []byte func (h *Humanizer) HumanizeString(text string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type CharRange ¶ type CharRange struct { Start rune End rune } type Humanizer ¶ type Humanizer struct { // contains filtered or unexported fields } func NewHumanizer ¶ func NewHumanizer() *Humanizer func (*Humanizer) Humanize ¶ func (h *Humanizer) Humanize(data []byte) []byte func (*Humanizer) HumanizeString ¶ func (h *Humanizer) HumanizeString(text string) string Source Files ¶ View all Source files humanize.go Click to show internal directories. Click to hide internal directories.