Skip to content
This repository has been archived by the owner on May 24, 2018. It is now read-only.
/ gocld2 Public archive
forked from rainycape/cld2

CLD2 (Compact Language Detector 2) bindings for Go. Deprecated in favor of https://github.com/jmhodges/gocld3

License

Notifications You must be signed in to change notification settings

jmhodges/gocld2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cld2

Deprecated in favor of https://github.com/jmhodges/gocld3

Package cld2 implements language detection using the Compact Language Detector.

This package includes the relevant sources from the cld2 project, so it doesn't require any external dependencies. For more information about CLD2, see https://code.google.com/p/cld2/.

Usage

func Detect

func Detect(text string) string

Detect returns the language code for detected language in the given text.

About

CLD2 (Compact Language Detector 2) bindings for Go. Deprecated in favor of https://github.com/jmhodges/gocld3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.4%
  • Other 0.6%