12 2020 档案

摘要:在代码中编辑自定义词典 CustomDictionary = JClass("com.hankcs.hanlp.dictionary.CustomDictionary") CustomDictionary.add("代行", "nnt 1999") CustomDictionary.add("李紫文 阅读全文
posted @ 2020-12-30 19:20 爱知菜 阅读(15) 评论(0) 推荐(0) 编辑
摘要:Java 8 takes more than 1/64th of your physical memory for your Xmssize (Minimum HeapSize) and less than 1/4th of your physical memory for your -Xmxsiz 阅读全文
posted @ 2020-12-15 15:20 爱知菜 阅读(115) 评论(0) 推荐(0) 编辑
摘要:grpc 是一个 google开源的 rpc库,支持多种语言,本文讲python版本的grpc。 安装: pip install grpcio pip install grpcio-tools 开发顺序: 1. 首先要定义prototype文件。定义好rpc的函数、输入参数,返回参数。 示例如下: 阅读全文
posted @ 2020-12-07 16:15 爱知菜 阅读(176) 评论(0) 推荐(0) 编辑
摘要:linux下连接PostgresSQL的命令行工具是 “psql” 在这个页面获取下载安装的命令行:https://www.postgresql.org/download/linux/redhat/ 头两行都要运行,先装repo,再装postgresql-sever 安装后就可以运行psql。 ps 阅读全文
posted @ 2020-12-01 18:33 爱知菜 阅读(413) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示