Skip to content

clemsciences/old_norse_corpus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Corpus of Old Norse texts

PyPI Build Status PyPI - License

This package provides Old Norse texts with code to parse them.

Sources

Although texts are in public domain, we must thank those who digitalised and normalized these texts.

Installation

$ pip install --user --upgrade norsecorpus

How to use norsecorpus

import norsecorpus.reader as ncr
available_texts = ncr.get_available_texts()
filename = "volsunga.xml"
volsunga = ncr.read_tei_words(available_texts[filename])
print(volsunga[0][0][0]) # first sentence of the Völsunga saga

You have now the Völsunga saga.

About

Old Norse texts with reader functions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published