humanize

package module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 3 Imported by: 0

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)
}

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL