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.
Additional ways to cite the dataset.
Tokens are looked up in a model of historical spelling variants to generate alternative spellings, which can then be used in downstream lexical lookup.
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>