Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91647964
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
Wed, Nov 13, 01:49
Size
877 B
Mime Type
text/x-python
Expires
Fri, Nov 15, 01:49 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22295557
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