franco

Offline language detection

  • Owner: kapsteur/franco
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Franco GoDoc Build Status

Detect the language of text.

Supported languages

Franco supports 175 “languages”. For a complete list, check out languages list

Installation

$ go get github.com/kapsteur/franco

Usage

res := franco.DetectOne("Votre temps est limité, ne le gâchez pas en menant une existence qui n’est pas la vôtre.")
// res == {Code:"fra" Count:1}

res := franco.Detect("Votre temps est limité, ne le gâchez pas en menant une existence qui n’est pas la vôtre.")
// res == [{Code:"fra" Count:1},{spa 0.7709821779068855},{cat 0.7656434011148622},{src 0.7274083379131664}...]

Derivation

Franco is a derivative work from Franc (Js, MIT).
Franc is a derivative work from [guess-language][] (Python, LGPL),
[guesslanguage][] (C++, LGPL), and [Language::Guess][language-guess]
(Perl, GPL). Their creators granted me the rights to distribute franc
under the MIT license: respectively, [Kent S. Johnson][grant-3],
[Jacob R. Rideout][grant-2], and [Maciej Ceglowski][grant-1].

License

MIT © Garry POUPIN

Main metrics

Overview
Name With Ownerkapsteur/franco
Primary LanguageGo
Program languageGo (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2014-12-09 22:21:29
Pushed At2017-07-31 07:21:05
Last Commit At2017-07-31 09:21:05
Release Count2
Last Release Name0.2 (Posted on 2015-02-18 21:57:21)
First Release Name0.1 (Posted on 2015-02-05 19:13:42)
用户参与
Stargazers Count47
Watchers Count4
Fork Count4
Commits Count24
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count1
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private