Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F80567590
test_manuscript_description.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Sep 1, 10:30
Size
877 B
Mime Type
text/x-python
Expires
Tue, Sep 3, 10:30 (2 d)
Engine
blob
Format
Raw Data
Handle
20395816
Attached To
rNIETZSCHEPYTHON nietzsche-python
test_manuscript_description.py
View Options
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
Log In to Comment