摘要:
数据类似如下: id parent_id a 0 b 0 c a d b 使用 TreeNode 保存树结构。 public class TreeNode extends Menu { public TreeNode(){} public TreeNode(String id){ this.setI 阅读全文
摘要:
表格结构: CREATE TABLE `ssmpdemo`.`person_test` ( `id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `name` varchar(255) CHARACTER SET 阅读全文
摘要:
一种使用CNN来提取特征的模型,通过CNN的filter的大小来获得不同的n-gram的信息,模型的结构如下所示: 输入 输入使用word2vec的50维词向量,加上 position embedding。 position embedding 是一句话的每个单词距离两个entity的距离,比如: 阅读全文