Bestäm den logiska relationen mellan två meningar
Analyscitering
Språkbanken Text. sbx-swe-sentence_relation-transformers-superlim2 [Analysis]. Språkbanken Text. https://doi.org/10.23695/p25v-fs07
Ytterligare sätt att citera datamängden.
Exempel
This analysis is used with Sparv. Check out Sparv's quick start guide to get started!
To use this analysis, add the following lines under export.annotations in the Sparv corpus configuration file:
- <sentence>:sbx_superlim.swenli.label # None
- <sentence>:sbx_superlim.swenli.certainty # None
You also need to install the following plugin: sbx_superlim.
For general information on how to install plugins, see here.
For more info on how to use Sparv, check out the Sparv documentation.
Example output:
<sentence swenli.certainty="N/A" swenli.label="N/A">
<token>Ett</token>
<token>öppet</token>
<token>Sverige</token>
<token>Vi</token>
<token>lever</token>
<token>i</token>
<token>en</token>
<token>orolig</token>
<token>tid</token>
<token>,</token>
<token>där</token>
<token>människor</token>
<token>tvingas</token>
<token>fly</token>
<token>för</token>
<token>sina</token>
<token>liv</token>
<token>från</token>
<token>krig</token>
<token>och</token>
<token>förtryck</token>
<token>.</token>
</sentence>
<sentence swenli.certainty="0.663418173789978" swenli.label="contradiction">
<token>Inte</token>
<token>sedan</token>
<token>Andra</token>
<token>världskriget</token>
<token>har</token>
<token>så</token>
<token>många</token>
<token>människor</token>
<token>varit</token>
<token>på</token>
<token>flykt</token>
<token>.</token>
</sentence>