-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathfaculty-nlp.html
140 lines (118 loc) · 4.56 KB
/
faculty-nlp.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<html>
<head>
<title>Big Cows 🐮: Faculty in NLP</title>
<meta charset="UTF-8">
<!-- from http://www.menucool.com/tooltip/css-tooltip -->
<link rel="stylesheet" href="tooltip/tooltip.css" type="text/css"/>
<link rel="stylesheet" href="tablesorter/style.css" type="text/css" media="print, projection, screen" />
<script src="tablesorter2/jquery-latest.min.js"></script>
<script src="tablesorter2/jquery.tablesorter.min.js"></script>
<script src="tablesorter2/jquery.tablesorter.widgets.min.js"></script>
<link rel="stylesheet" href="tablesorter2/theme.blue.css">
<script src="faculty-nlp-stats.js"></script></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css" />
</head>
<body>
<a class="github-fork-ribbon" href="https://github.com/lintool/scholar-scraper/" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
<!-- from https://simonwhitaker.github.io/github-fork-ribbon-css/ -->
<h1>Big Cows 🐮: Faculty in NLP</h1>
<p>Check out <a href="index.html">additional lists</a>!</p>
<p>This list contains faculty with DBLP profiles in NLP, defined in
the same way
as <a href="https://github.com/emeryberger/CSrankings">CSRankings</a>
(by "EMNLP", "ACL", and "NAACL"). All faculty on this list have more
the five entries in these conferences, with additional manual curation
and data cleaning.<p>
<div id="date"><small>Data scraped from Google Scholar: "name", "citations",
"h-index", and "i10-index" are from author profile; "year" denotes
year of first citation. The columns marked "/y" indicates division by
years since first citation.</small></div>
<p/>
<table id="main" border="0" class="tablesorter" style="width:100%">
<thead>
<tr>
<th style="width:20px" class="filter-false"/>
<th>name</th>
<th class="filter-false">year</th>
<th class="filter-false">citations</th>
<th class="filter-false">/y</th>
<th class="filter-false">h-index</th>
<th class="filter-false">/y</th>
<th class="filter-false">i10-index</th>
<th class="filter-false">/y</th>
<th>region</th>
<th>country</th>
</tr>
</thead>
<tbody id="stats">
</tbody>
</table>
<!-- Example primarily adapted from https://mottie.github.io/tablesorter/docs/example-widget-filter-any-match.html -->
<script>
function round(n) {
return Math.round(n*10)/10;
}
for (var i=0; i< data.length; i++) {
var regex = /user=([^&]+)/;
var match = regex.exec(data[i].url);
var userId = match[1];
var row = $('<tr/>');
var y = (2021 - data[i].year);
row.append($('<td>'));
row.append($('<td style="text-align: left"/>')
.html('<a href="' + data[i].url + '" class="tooltip">' + data[i].name +
'<span><img class="callout" src="tooltip/tooltip.gif" />' +
'<img style="padding-bottom: 10px" src="images/' + userId + '.png"/><br/>' +
'<b>' + data[i].name + '</b><br/>' +
data[i].affiliation + '<br/>' +
'<small><i>' + data[i].keywords.join(', ') + '</i></small><br/>' +
'</span></a>'));
row.append($('<td/>').html(data[i].year));
row.append($('<td/>').html(data[i].stats.citations[0]));
row.append($('<td/>').html(Math.round(data[i].stats.citations[0]/y)));
row.append($('<td/>').html(data[i].stats.hindex[0]));
row.append($('<td/>').html(round(data[i].stats.hindex[0]/y)));
row.append($('<td/>').html(data[i].stats.i10index[0]));
row.append($('<td/>').html(round(data[i].stats.i10index[0]/y)));
row.append($('<td/>').html(data[i].region));
row.append($('<td/>').html(data[i].country));
$("#stats").append(row);
}
$(document).ready(function() {
$("#date").append("<p><small>Last updated (list of people): May 2021<br/>Last updated (citation statistics): " + date + "</small></p>");
var $table = $('table').tablesorter({
widthFixed: false,
sortList: [[5,1], [3,1]],
theme: 'blue',
widgets: ["zebra", "resizable", "filter"],
widgetOptions : {
resizable: true,
resizable_widths : [ '10px' ],
filter_external : '.search',
filter_columnFilters: true,
filter_placeholder: { search : 'Search...' },
filter_saveFilters : true,
filter_reset: '.reset'
}
});
// https://stackoverflow.com/questions/6549518/jquery-tablesorter-with-row-numbers
var table = $("#main");
var i = 0;
table.find("tr:gt(0)").each(function(){
if (i != 0 )
$(this).find("td:eq(0)").text(i);
i++;
});
table.bind("sortEnd",function() {
var i = 0;
table.find("tr:gt(0)").each(function(){
if (i != 0 )
$(this).find("td:eq(0)").text(i);
i++;
});
});
});
</script>
<p style="margin-top: 300px"/>
</body>
</html>