franco

Offline language detection

  • 所有者: kapsteur/franco
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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

主要指标

概览
名称与所有者kapsteur/franco
主编程语言Go
编程语言Go (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2014-12-09 22:21:29
推送于2017-07-31 07:21:05
最后一次提交2017-07-31 09:21:05
发布数2
最新版本名称0.2 (发布于 2015-02-18 21:57:21)
第一版名称0.1 (发布于 2015-02-05 19:13:42)
用户参与
星数47
关注者数4
派生数4
提交数24
已启用问题?
问题数0
打开的问题数0
拉请求数1
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?