- 博客(15)
- 收藏
- 关注
原创 对SemEval 2015 Task 18: Broad-Coverage Semantic Dependency Parsing的理解
新手入门,请多理解,本文原博主 yangshi1111 主要讲和14年那篇论文不一样的地方 除了WSJ of PTB 的英文资源,还使用了中文和捷克语资源 关于和其他三个子任务的比较已经在14年的那一片paper中简述了,没有什么太大的区别关于三种表示,DM表示和上文没什么区别,PAS表示除了使用英文资源还利用同样的技术使用了Penn Chinese Treebank(CTB) 的中文...
2018-03-12 18:38:26 1064 1
原创 对SemEval 2014 Task 8: Broad-Coverage Semantic Dependency Parsing的浅薄理解
新手入门,如有不足,多多谅解。 原文详见 CSDN博客 yangshi1111本篇文章的主要目的 探讨的是语义依存分析,即恢复所有实词的谓词论元关系,而这个语义结构能表示句子的核心意思。在过程中,首先对其他子任务进行了比较,然后介绍了将要使用的语义运存表示,这些表示方法的异同以及总结了任务的建立,参赛系统,以及主要的结果。 首先这篇文章介绍了有关背景和动机。语法依存分析由于对目
2018-03-12 18:34:23 859
转载 # 转载:使用openpyxl读写excel文件
转载:使用openpyxl读写excel文件原文见: https://www.cnblogs.com/sun-haiyu/p/7096423.html
2018-02-06 19:39:02 242
原创 leetcode 274. H-Index
第一种比较直接的想法,但往往不是最简单的,先排序然后一个一个对应,但往往这种情况下不会是最好的办法static bool comp(int a, int b){ return !(a<b);}int hIndex(vector<int>& citations) { citations.push_back(INT_MAX); sort(citations.begin()
2017-05-23 16:23:17 246
原创 leetcode 39. Combination Sum
vector<vector<int>> ans; vector<int> newsequece; int aim; void dfs(int sum, int i, vector<int>& temp) { if (sum == aim) { ans.push_back(temp);
2017-05-22 22:13:03 213
原创 leetcode 582.Kill Process
Given n processes, each process has a unique PID (process id) and its PPID (parent process id). Each process only has one parent process, but may have one or more children processes. This is
2017-05-19 21:57:44 353
原创 leetcode 152.Maximum Product Subarray
Find the contiguous subarray within an array (containing at least one number) which has the largest product. For example, given the array [2,3,-2,4], the contiguous subarray [2,3] has the la
2017-05-18 19:59:42 282
原创 leetcode 53. Maximum Subarray
动态规划最基本的题,模板题,记得max和temp的初始化,初始化第一个元素就行,不用初始化INT_MINint maxSubArray(vector<int>& nums) { int max=nums[0],i,temp=nums[0]; //注意套路 for(i=1;i<nums.size();i++) {
2017-05-17 20:08:07 241
原创 Python爬取豆瓣电影top250
小爬虫,套路做法import urllibimport timefrom bs4 import BeautifulSoupclass DoubanMovie: """该类含有5个属性,姓名,连接,描述,排名,评分""" def __init__(self,name,url,dec,rank,grade): self.name=name self
2017-04-03 22:39:35 725
原创 Python爬取豆瓣新片排行榜
菜鸟初长成,爬虫路漫漫from bs4 import BeautifulSoupimport urllibimport os##定义了一个豆瓣电影类class doubanmovies: def __init__(self,name,link,dec): self.name=name self.link=link self.dec=de
2017-04-01 22:09:25 588
原创 Hawei Learning C 北邮校赛
Hawei Learning C时间限制 1000 ms 内存限制 65536 KB 题目描述Hawei is learning C programming language recently, but he is so naive that he mistakes the ∼ symbol in C for the ¬ symbol in mathemetics. In math calcula
2017-03-30 22:42:57 421
原创 Saber's Board 北邮2016校赛
时间限制 5000 ms 内存限制 65536 KB 题目描述In a parallel universe, Saber has won the champion of every kind of board games. She even defeated the AI program BetaGo recently! After all the victory she has got, Sab
2017-03-30 14:32:06 346
翻译 Qt导出Excel封装到一个类中
//基于http://blog.csdn.net/w_ww_w/article/details/9167573的主体//头文件#ifndef EXPORTEXCEL_H#define EXPORTEXCEL_H#include#include#include#include#includeclass ExportExcel{public:
2017-03-24 13:49:01 798
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人