- 授权协议: MIT
- 开发语言: Google Go
- 操作系统: 跨平台
- 软件首页: https://github.com/mcos/schemabuf
软件介绍
schemabuf 可以根据 MySQL 的表结构来生成 ProtocolBuffers 对应的模型。
使用方法:
$ schemabuf -h Usage of schemabuf: -db string the database type (default "mysql") -host string the database host (default "localhost") -password string the database password (default "root") -port int the database port (default 3306) -schema string the database schema (default "db_name") -user string the database user (default "root")
Go 语言调用:
import "github.com/mcos/schemabuf"
func main() {
connStr := config.get("dbConnStr")
db, err := sql.Open(*dbType, connStr)
if err != nil {
log.Fatal(err)
}
defer db.Close()
s, err := schemabuf.GenerateSchema(db)
if nil != err {
log.Fatal(err)
}
if nil != s {
fmt.Println(s)
}
}
Python自然语言处理
(英)伯德、(英)克莱因、(美)洛普 / 东南大学出版社 / 2010-6 / 64.00元
《Python自然语言处理(影印版)》提供了非常易学的自然语言处理入门介绍,该领域涵盖从文本和电子邮件预测过滤,到自动总结和翻译等多种语言处理技术。在《Python自然语言处理(影印版)》中,你将学会编写Python程序处理大量非结构化文本。你还将通过使用综合语言数据结构访问含有丰富注释的数据集,理解用于分析书面通信内容和结构的主要算法。 《Python自然语言处理》准备了充足的示例和练习,......一起来看看 《Python自然语言处理》 这本书的介绍吧!
