Skip to main content

sbx-swe-spelling_variants-sparv-fsv

Analysis citation Information

Språkbanken (2021). sbx-swe-spelling_variants-sparv-fsv (updated: 2021-06-01). [Analysis]. Enriched and distributed by Språkbanken. https://doi.org/10.23695/vv0x-y926
BibTeX Additional ways to cite the dataset.
Lookup producing possible spelling variants for tokens

Tokens are looked up in a model of historical spelling variants to generate alternative spellings, which can then be used in downstream lexical lookup.

Example

This analysis is used with Sparv. Check out Sparv's quick start guide to get started!

To use this analysis, add the following line under export.annotations in the Sparv corpus configuration file:

- <token>:hist.spelling_variants  # token spelling variants

In order to use this annotation you need to add the following setting to your Sparv corpus configuration file:

metadata:
  language: swe
  variety: fsv

For more info on how to use Sparv, check out the Sparv documentation.

Example output:

<token spelling_variants="|svaka|svarlika|sværia|">Swerikis</token>
<token spelling_variants="|rige|rike|riki|">Rike</token>
<token spelling_variants="|ar|æ|">ær</token>
<token spelling_variants="|ef|æf|">af</token>
<token spelling_variants="|hedhne|hesna|heþna|">hedne</token>
<token spelling_variants="|vald|værald|">værld</token>
<token spelling_variants="|sami|soman|">saman</token>
<token spelling_variants="|komin|mit|miþ|">komith</token>
<token spelling_variants="|">,</token>
<token spelling_variants="|ef|æf|">af</token>
<token spelling_variants="|svear|svet|sveta|">swea</token>
<token spelling_variants="|akh|ok|uk|">och</token>
<token spelling_variants="|godha|got|gota|">gotha</token>
<token spelling_variants="|ladh|land|lidh|">landh</token>
<token spelling_variants="|">.</token>

Type

  • Analysis

Task

  • lexical lookup

Unit

  • token

Licence

MIT

Created

2012-10-23

Updated

2021-06-01

Contact

sb-info@svenska.gu.se