Popularity
2.9
Declining
Activity
0.0
Stable
57
1
5
Programming language: Go
License: MIT License
guesslanguage alternatives and similar packages
Based on the "blackfriday" category.
Alternatively, view guesslanguage alternatives based on common mentions on social networks and blogs.
-
sh
A shell parser, formatter, and interpreter with bash support; includes shfmt -
go-humanize
Go Humans! (formatters for units to human friendly sizes) -
bluemonday
bluemonday: a fast golang HTML sanitizer (inspired by the OWASP Java HTML Sanitizer) to scrub user generated content of XSS -
mxj
Decode / encode XML to/from map[string]interface{} (or JSON); extract values with dot-notation paths and wildcards. Replaces x2j and j2x packages. -
go-pkg-rss
This package reads RSS and Atom feeds and provides a caching mechanism that adheres to the feed specs. -
github_flavored_markdown
GitHub Flavored Markdown renderer with fenced code block highlighting, clickable header anchor links. -
go-pkg-xmlx
Extension to the standard Go XML package. Maintains a node tree that allows forward/backwards browsing and exposes some simple single/multi-node search functions. -
gonameparts
Takes a full name and splits it into individual name parts
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Promo
workos.com
Do you think we are missing an alternative of guesslanguage or a related project?
README
guesslanguage
This is a Go version of python guess-language.
guesslanguage provides a simple way to detect the natural language of unicode string and detects over 60 languages listed in the models directory.
Supported Go versions
guesslanguage is regularly tested against Go 1.1, 1.2, 1.3 and tip.
Usage
Install in your ${GOPATH}
using go get -u github.com/endeveit/guesslanguage
Then call it:
package main
import (
"fmt"
"github.com/endeveit/guesslanguage"
)
func main() {
lang, err := guesslanguage.Guess("This is a test of the language checker.")
// Output:
// en
if err != nil {
fmt.Println(lang)
}
}