Page MenuHomec4science

test_manuscript_description.py
No OneTemporary

File Metadata

Created
Wed, Nov 13, 01:49

test_manuscript_description.py

import unittest
from os import sep, path
from os.path import dirname, basename, isfile, isdir
import lxml.etree as ET
import sys
sys.path.append('svgscripts')
from datatypes.page import Page
from datatypes.standoff_tag import StandoffTag
from datatypes.text import Text
from datatypes.manuscript_description import ManuscriptDescription
class TestManuscriptDescription(unittest.TestCase):
def test_semantic(self):
pass
#print(ManuscriptDescription.get_semantic_dictionary())
def test_create(self):
text = "Heftblatt (restauriert), ca. 17,5+21,7, liniiert; Rißkante Rekto links. Verso vakat. Ursprünglich Doppelblatt einer Heftlage: Mp XVI, 64rv / Mp XVII, 118rv; ursprünglich gegenüberliegende Seiten: 124v / 118r (?)."
desc = ManuscriptDescription.create_cls_from_raw_text(text)
if __name__ == "__main__":
unittest.main()

Event Timeline