Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 1 min read

Emoji removal and text sanitization for AI output, user content, and your repository.

Dependency-free Go library and CLI for emoji removal, emoji detection, text sanitization, whitespace normalization, AI output cleanup, and content moderation. Install the Go library and CLI Add the library to a module.

Nicholas Houle
Nicholas Houle

Posted on Nov 26 β€’ Edited on Nov 26

Emoji removal and text sanitization for AI output, user content, and your repository.

Dependency-free Go library and CLI for emoji removal, emoji detection, text sanitization, whitespace normalization, AI output cleanup, and content moderation.

Install the Go library and CLI
Add the library to a module.

go get github.com/nicholashoule/[email protected]
Enter fullscreen mode Exit fullscreen mode

Install the CLI, or run it once without installing:

go install github.com/nicholashoule/demojify-sanitize/cmd/[email protected]
go run github.com/nicholashoule/demojify-sanitize/cmd/[email protected] -root .
Enter fullscreen mode Exit fullscreen mode

Links:

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.