文件名称:gotextcat:golang中的libtextcat
文件大小:127KB
文件格式:ZIP
更新时间:2024-07-14 08:32:12
Go
#gotextcat libtextcat golang 实现 *.lm 文件名的格式类似于 lang_name.id.lm ##安装 $ go get github.com/pastebt/gotextcat ##设置数据 将 LMI/*.lm 数据复制到 /usr/share/gotextcat/data/LMI/ ##测试 $ go test github.com/pastebt/gotextcat #演示 $ cd $GOPATH /src/pkg/github.com/pastebt/gotextcat/demo $ go build fp.go 会生成utility fp,可以用来生成*.lm文件
【文件预览】:
gotextcat-master
----lang_test.go(14KB)
----LMI()
--------portuguese.27.lm(3KB)
--------korean.22.lm(3KB)
--------english.10.lm(3KB)
--------slovenian-iso8859_2.32.lm(3KB)
--------chinese-big5.5.lm(3KB)
--------persian.57.lm(3KB)
--------manx.52.lm(3KB)
--------breton.43.lm(3KB)
--------ukrainian-koi8_r.67.lm(3KB)
--------icelandic.18.lm(3KB)
--------vietnamese.68.lm(3KB)
--------serbian-ascii.30.lm(3KB)
--------middle_frisian.54.lm(3KB)
--------malay.51.lm(4KB)
--------slovenian-ascii.32.lm(3KB)
--------basque.40.lm(3KB)
--------polish.26.lm(3KB)
--------scots_gaelic.62.lm(3KB)
--------russian-koi8_r.29.lm(3KB)
--------sanskrit.60.lm(3KB)
--------slovak-ascii.31.lm(3KB)
--------swahili.63.lm(3KB)
--------tagalog.64.lm(3KB)
--------georgian.47.lm(3KB)
--------bulgarian-iso8859_5.2.lm(3KB)
--------japanese-shift_jis.21.lm(3KB)
--------lithuanian.24.lm(3KB)
--------rumantsch.59.lm(3KB)
--------czech-iso8859_2.7.lm(3KB)
--------quechua.58.lm(3KB)
--------irish.49.lm(3KB)
--------japanese-euc_jp.21.lm(4KB)
--------scots.61.lm(3KB)
--------catalan.3.lm(3KB)
--------croatian-ascii.6.lm(3KB)
--------slovak-windows1250.31.lm(3KB)
--------dutch.9.lm(3KB)
--------bosnian.42.lm(3KB)
--------german.14.lm(3KB)
--------mingo.55.lm(3KB)
--------swedish.34.lm(3KB)
--------russian-iso8859_5.29.lm(3KB)
--------turkish.35.lm(3KB)
--------latin.50.lm(3KB)
--------norwegian.25.lm(3KB)
--------spanish.33.lm(3KB)
--------thai.66.lm(3KB)
--------estonian.11.lm(3KB)
--------frisian.46.lm(3KB)
--------albanian.37.lm(3KB)
--------latvian.23.lm(3KB)
--------tamil.65.lm(3KB)
--------afrikaans.36.lm(3KB)
--------french.13.lm(3KB)
--------indonesian.19.lm(3KB)
--------arabic-windows1256.1.lm(3KB)
--------russian-windows1251.29.lm(3KB)
--------esperanto.45.lm(3KB)
--------hungarian.17.lm(3KB)
--------marathi.53.lm(3KB)
--------hebrew-iso8859_8.16.lm(3KB)
--------danish.8.lm(3KB)
--------arabic-iso8859_6.1.lm(3KB)
--------armenian.39.lm(3KB)
--------nepali.56.lm(3KB)
--------welsh.69.lm(3KB)
--------romanian.28.lm(3KB)
--------chinese-gb2312.4.lm(3KB)
--------greek-iso8859-7.15.lm(3KB)
--------belarus-windows1251.41.lm(3KB)
--------finnish.12.lm(3KB)
--------hindi.48.lm(3KB)
--------italian.20.lm(3KB)
----lang.go(6KB)
----demo()
--------fp.go(1KB)
----README.md(443B)