Skip to content

Commit 12ae3f4

Browse files
committed
feat: mobile ready
1 parent 948ca94 commit 12ae3f4

File tree

3 files changed

+6878
-15
lines changed

3 files changed

+6878
-15
lines changed

docs/assets/index.1b2bebbd.js

Lines changed: 6855 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<link rel="icon" href="/entityscrape/favicon.ico">
77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
88
<title>entityscrape</title>
9-
<script type="module" crossorigin src="/entityscrape/assets/index.05fa0a7f.js"></script>
9+
<script type="module" crossorigin src="/entityscrape/assets/index.1b2bebbd.js"></script>
1010
<link rel="stylesheet" href="/entityscrape/assets/index.de220886.css">
1111
</head>
1212

web/src/App.vue

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,36 @@
11
<template>
22
<n-space vertical>
33
<h1>entityscrape</h1>
4-
<p>This a social experiment which shows the mean distance between part of speeches
5-
(e. g. adjectives or nouns) in news articles (like from NBC or CNN) and randomly
6-
selected entities (like Xi Jingping or ISIS).</p>
7-
8-
<p>The Go package <a href="https://github.com/ndabAP/assocentity">assocentity</a> was
9-
used for creating this experiment. You can create new ones with updating the
10-
<code>source/entities.txt</code> file and run the CLI with the provided Visual Studio Code
11-
debug configuration.</p>
4+
<p>
5+
This a social experiment which shows the mean distance between part of
6+
speeches (e. g. adjectives or nouns) in news articles (like from NBC or
7+
CNN) and randomly selected entities (like Xi Jingping or ISIS).
8+
</p>
9+
10+
<p>
11+
The Go package
12+
<a href="https://github.com/ndabAP/assocentity">assocentity</a> was used
13+
for creating this experiment. You can create new ones with updating the
14+
<code>source/entities.txt</code> file and run the CLI with the provided
15+
Visual Studio Code debug configuration.
16+
</p>
1217

1318
<n-form-item size="small" label="Entity">
1419
<n-select v-model:value="selectedEntity" :options="availableEntities" />
1520
</n-form-item>
16-
<n-form-item size="small" label="Part of speech">
21+
<n-form-item size="small" label="Part of speech">
1722
<n-select v-model:value="selectedPos" :options="availablePos" />
1823
</n-form-item>
1924

20-
<Bar :options="{
21-
indexAxis: 'y',
22-
responsive: true,
23-
}" :data="chartData" />
25+
<div style="height: 475px">
26+
<Bar :data="chartData" :options="{
27+
indexAxis: 'y',
28+
maintainAspectRatio: false,
29+
responsive: true,
30+
}" />
31+
</div>
2432

25-
<small><b>Data source</b>:
33+
<small><b>Data source</b>:
2634
<a target="_blank" href="https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/GMFCTR">dai,
2735
tianru, 2017, "News Articles", Harvard Dataverse, V1</a></small>
2836
</n-space>

0 commit comments

Comments
 (0)