一、概述 训练语料来源:维基媒体 https://dumps.wikimedia.org/backup index.html 汉语数据 用word2vec训练词向量,并用所学得的词向量,计算 pku_sim_test.txt 文件中每行两个词间的余弦距离作为两词相似度,并输出到文件中。 二、数据准备 ...
分类:
编程语言 时间:
2019-12-27 23:35:37
阅读次数:
278
conda 基础用法 1、创建环境(创建一个叫 py36,python 版本为 3.6 的环境) 创建的环境在默认路径 conda create n py36 python=3.6 通过以下方式指定路径 conda create prefix="/data/envs/my_py_env" pytho ...
分类:
其他好文 时间:
2019-12-27 20:25:28
阅读次数:
244
1.安装mysql git clone https://github.com/Qihoo360/wayne.git cd wayne;git submodule update --init --recursive [root@master tmp]# cat /tmp/dev.conf DBName ...
分类:
其他好文 时间:
2019-12-27 20:02:31
阅读次数:
267
获取代码的时候需要当前文件夹为空 使用git从远程仓库获取代码 git clone https://gitee.com/shllong/Hig/ 然后创建项目.net core 提交项目的时候需要关闭vs 提交项目流程 git init # 创建仓库,如果是从远程获取到的就不需要创建仓库了git a ...
分类:
其他好文 时间:
2019-12-27 15:22:09
阅读次数:
77
过程:1、打开idea。file --> new --> Project from Version Control 2、填入git地址,点击clone 明明是一个maven项目,可是idea却提示:Non-managed pom.xml file found: 点击Add as Maven Proj ...
分类:
其他好文 时间:
2019-12-27 11:48:23
阅读次数:
192
Array.prototype.myForEach = function(fn) { var arr = this, len = arr.length, arg2 = arguments[1] || window; for(var i = 0; i < len; i++) { fn.apply(ar... ...
分类:
编程语言 时间:
2019-12-27 11:38:26
阅读次数:
83
1. ubuntu安装与配置 1.1. 换源 1.2. 卸载libreoffice 1.3. 安装git 1.4. 安装与配置zsh 安装zsh 安装oh my zsh 命令高亮插件 自动补全插件 启用插件 修改~/.zshrc 中的 选项 1.5. 安装sougou输入法 从 "搜狗官网" 下载输 ...
分类:
系统相关 时间:
2019-12-26 21:32:09
阅读次数:
92
本文源码: 1. git clone https://github.com/zhongchengyi/zhongcy.demos.git 下的 apoi-ppt-chart 目录 2. 在第5节也有核心源码 1. apoi简介 Apache POI是Apache软件基金会的开放源码函式库,POI提供 ...
分类:
编程语言 时间:
2019-12-26 19:38:02
阅读次数:
131
为什么要在contentEditable=true的div里面获取光标呢?因为这篇文章https://blog.csdn.net/qq_33769914/article/details/85002918我们知道想在一个内容里面插入一个新的内容,如果这个新的内容是段html代码。最后显示的是有样式的。 ...
分类:
其他好文 时间:
2019-12-26 09:34:43
阅读次数:
213
dump() 方法全局 composer.json12345"require": { "squizlabs/php_codesniffer": "*", "fxp/composer-asset-plugin": "^1.4", "symfony/var-dumper": "3.3.16"}配置PHP... ...
分类:
Web程序 时间:
2019-12-26 00:06:39
阅读次数:
151