|
1 | 1 | <template>
|
2 | 2 | <n-space vertical>
|
3 | 3 | <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> |
12 | 17 |
|
13 | 18 | <n-form-item size="small" label="Entity">
|
14 | 19 | <n-select v-model:value="selectedEntity" :options="availableEntities" />
|
15 | 20 | </n-form-item>
|
16 |
| - <n-form-item size="small" label="Part of speech"> |
| 21 | + <n-form-item size="small" label="Part of speech"> |
17 | 22 | <n-select v-model:value="selectedPos" :options="availablePos" />
|
18 | 23 | </n-form-item>
|
19 | 24 |
|
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> |
24 | 32 |
|
25 |
| - <small><b>Data source</b>: |
| 33 | + <small><b>Data source</b>: |
26 | 34 | <a target="_blank" href="https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/GMFCTR">dai,
|
27 | 35 | tianru, 2017, "News Articles", Harvard Dataverse, V1</a></small>
|
28 | 36 | </n-space>
|
|
0 commit comments