{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "\n", "\n", "\n", "\n", "---\n", "\n", "To get started: consult [start](start.ipynb)\n", "\n", "---\n", "\n", "# Display\n", "\n", "We show the ins and outs of displaying cuneiform ATF transcriptions." ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "%load_ext autoreload\n", "%autoreload 2" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "ExecuteTime": { "end_time": "2018-05-18T09:17:16.202764Z", "start_time": "2018-05-18T09:17:16.197546Z" } }, "outputs": [], "source": [ "from tf.app import use" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "data": { "text/html": [ "TF-app: ~/text-fabric-data/Nino-cunei/oldbabylonian/app" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "data: ~/text-fabric-data/Nino-cunei/oldbabylonian/tf/1.0.6" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "This is Text-Fabric 9.2.2\n", "Api reference : https://annotation.github.io/text-fabric/tf/cheatsheet.html\n", "\n", "67 features found and 0 ignored\n" ] }, { "data": { "text/html": [ "Text-Fabric: Text-Fabric API 9.2.2, Nino-cunei/oldbabylonian/app v3, Search Reference
Data: OLDBABYLONIAN, Character table, Feature docs
Features:
\n", "
Old Babylonian Letters 1900-1600: Cuneiform tablets\n", "
\n", "\n", "
\n", "
\n", "ARK\n", "
\n", "
str
\n", "
\n", " persistent identifier of type ARK from metadata field \"UCLA Library ARK\"\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:07Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "after\n", "
\n", "
str
\n", "
\n", " what comes after a sign or word (- or space)\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:07Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "afterr\n", "
\n", "
str
\n", "
\n", " what comes after a sign or word (- or space); between adjacent signs a ␣ is inserted\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:07Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "afteru\n", "
\n", "
str
\n", "
\n", " what comes after a sign when represented as unicode (space)\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:07Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "atf\n", "
\n", "
str
\n", "
\n", " full atf of a sign (without cluster chars) or word (including cluster chars)\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:07Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "atfpost\n", "
\n", "
str
\n", "
\n", " atf of cluster closings at sign\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:07Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "atfpre\n", "
\n", "
str
\n", "
\n", " atf of cluster openings at sign\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "author\n", "
\n", "
str
\n", "
\n", " author from metadata field \"Author(s)\"\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "col\n", "
\n", "
int
\n", "
\n", " ATF column number\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "collated\n", "
\n", "
int
\n", "
\n", " whether a sign is collated (*)\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "collection\n", "
\n", "
str
\n", "
\n", " collection of a document\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "comment\n", "
\n", "
str
\n", "
\n", " $ comment to line or inline comment to slot ($ and $)\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "damage\n", "
\n", "
int
\n", "
\n", " whether a sign is damaged\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "det\n", "
\n", "
int
\n", "
\n", " whether a sign is a determinative gloss - between braces { }\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "docnote\n", "
\n", "
str
\n", "
\n", " additional remarks in the document identification\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "docnumber\n", "
\n", "
str
\n", "
\n", " number of a document within a collection-volume\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "excavation\n", "
\n", "
str
\n", "
\n", " excavation number from metadata field \"Excavation no.\"\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "excised\n", "
\n", "
int
\n", "
\n", " whether a sign is excised - between double angle brackets << >>\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "face\n", "
\n", "
str
\n", "
\n", " full name of a face including the enclosing object\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "flags\n", "
\n", "
str
\n", "
\n", " sequence of flags after a sign\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "fraction\n", "
\n", "
str
\n", "
\n", " fraction of a numeral\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "genre\n", "
\n", "
str
\n", "
\n", " genre from metadata field \"Genre\"\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "grapheme\n", "
\n", "
str
\n", "
\n", " grapheme of a sign\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "graphemer\n", "
\n", "
str
\n", "
\n", " grapheme of a sign using non-ascii characters\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "graphemeu\n", "
\n", "
str
\n", "
\n", " grapheme of a sign using cuneiform unicode characters\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "lang\n", "
\n", "
str
\n", "
\n", " language of a document\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "langalt\n", "
\n", "
int
\n", "
\n", " 1 if a sign is in the alternate language (i.e. Sumerian) - between underscores _ _\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "ln\n", "
\n", "
int
\n", "
\n", " ATF line number of a numbered line, without prime\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "lnc\n", "
\n", "
str
\n", "
\n", " ATF line identification of a comment line ($)\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "lnno\n", "
\n", "
str
\n", "
\n", " ATF line number, may be $ or #, with prime; column number prepended\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "material\n", "
\n", "
str
\n", "
\n", " material indication from metadata field \"Material\"\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "missing\n", "
\n", "
int
\n", "
\n", " whether a sign is missing - between square brackets [ ]\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "museumcode\n", "
\n", "
str
\n", "
\n", " museum code from metadata field \"Museum no.\"\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "museumname\n", "
\n", "
str
\n", "
\n", " museum name from metadata field \"Collection\"\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "object\n", "
\n", "
str
\n", "
\n", " name of an object of a document\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "operator\n", "
\n", "
str
\n", "
\n", " the ! or x in a !() or x() construction\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "operatorr\n", "
\n", "
str
\n", "
\n", " the ! or x in a !() or x() construction, represented as =, ␣\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "operatoru\n", "
\n", "
str
\n", "
\n", " the ! or x in a !() or x() construction, represented as =, ␣\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "otype\n", "
\n", "
str
\n", "
\n", " \n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "period\n", "
\n", "
str
\n", "
\n", " period indication from metadata field \"Period\"\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "pnumber\n", "
\n", "
str
\n", "
\n", " P number of a document\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "primecol\n", "
\n", "
int
\n", "
\n", " whether a prime is present on a column number\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "primeln\n", "
\n", "
int
\n", "
\n", " whether a prime is present on a line number\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "pubdate\n", "
\n", "
str
\n", "
\n", " publication date from metadata field \"Publication date\"\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "question\n", "
\n", "
int
\n", "
\n", " whether a sign has the question flag (?)\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "reading\n", "
\n", "
str
\n", "
\n", " reading of a sign\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "readingr\n", "
\n", "
str
\n", "
\n", " reading of a sign using non-ascii characters\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "readingu\n", "
\n", "
str
\n", "
\n", " reading of a sign using cuneiform unicode characters\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:08Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "remarkable\n", "
\n", "
int
\n", "
\n", " whether a sign is remarkable (!)\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:09Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "remarks\n", "
\n", "
str
\n", "
\n", " # comment to line\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:09Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "repeat\n", "
\n", "
int
\n", "
\n", " repeat of a numeral; the value n (unknown) is represented as -1\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:09Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "srcLn\n", "
\n", "
str
\n", "
\n", " full line in source file\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:09Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "srcLnNum\n", "
\n", "
int
\n", "
\n", " line number in source file\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:09Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "srcfile\n", "
\n", "
str
\n", "
\n", " source file name of a document\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:09Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "subgenre\n", "
\n", "
str
\n", "
\n", " genre from metadata field \"Sub-genre\"\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:09Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "supplied\n", "
\n", "
int
\n", "
\n", " whether a sign is supplied - between angle brackets < >\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:09Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "sym\n", "
\n", "
str
\n", "
\n", " essential part of a sign or of a word\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:09Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "symr\n", "
\n", "
str
\n", "
\n", " essential part of a sign or of a word using non-ascii characters\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:09Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "symu\n", "
\n", "
str
\n", "
\n", " essential part of a sign or of a word using cuneiform unicode characters\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:09Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "trans\n", "
\n", "
int
\n", "
\n", " whether a line has a translation\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:10Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "transcriber\n", "
\n", "
str
\n", "
\n", " person who did the encoding into ATF from metadata field \"ATF source\"\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:10Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "translation@ll\n", "
\n", "
str
\n", "
\n", " translation of line in language en = English\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:10Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "type\n", "
\n", "
str
\n", "
\n", " name of a type of cluster or kind of sign\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:10Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "uncertain\n", "
\n", "
int
\n", "
\n", " whether a sign is uncertain - between brackets ( )\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:10Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "volume\n", "
\n", "
int
\n", "
\n", " volume of a document within a collection\n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:10Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "oslots\n", "
\n", "
none
\n", "
\n", " \n", "
\n", "\n", "
\n", "
converters:
\n", "
Cale Johnson, Dirk Roorda
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2020-06-26T09:20:10Z
\n", "
\n", "\n", "
\n", "
editor:
\n", "
Cale Johnson et al.
\n", "
\n", "\n", "
\n", "
institute:
\n", "
CDL
\n", "
\n", "\n", "
\n", "
name:
\n", "
AbB Old Babylonian Cuneiform
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "\n", "\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
Text-Fabric API: names N F E L T S C TF directly usable

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "A = use(\"Nino-cunei/oldbabylonian\", hoist=globals())" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "We pick an example face with which we illustrate many ways to represent cuneiform text." ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [], "source": [ "# exampleFace = ('P509373', 'obverse')\n", "# exampleFace = ('P292990', 'obverse')\n", "exampleFace = (\"P292987\", \"reverse\")\n", "f = T.nodeFromSection(exampleFace)\n", "lines = L.d(f, otype=\"line\")" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Raw text\n", "\n", "The most basic way is to show the source material for each line, which is in the feature `srcLn`.\n", "\n", "This feature has been filled by mere copying the numbered lines from the CDLI ATF sources." ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "1. nu-uk!(AZ)-ta-la-al-li-mu\n", "2. dumu ku3#-{d}nanna\n", "3. i-he#-[er]-ri#\n", "4. la-ma qa2-as-su2\n", "5. isz#-ku-nu\n", "6. at#-ta hi-i-ri\n", "7. u3 a-na\n", "8. i-szar-ku-bi\n" ] } ], "source": [ "for ln in lines:\n", " print(F.srcLn.v(ln))" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Text formats\n", "\n", "The TF API supports *text formats*. Text formats make selections and apply templates and styles based\n", "on the analysed features of the text. For example: a text-format may ignore flags or clusters, or\n", "format numerals in special ways.\n", "\n", "Text formats are not baked into TF, but they are defined in the feature `otext` of the corpus.\n", "\n", "Moreover, for this corpus a TF app has been build that defines additional text-formats.\n", "\n", "Whereas the formats defined in `otext` are strictly plain text formats, the formats\n", "defined in the app are able to use typographic styles to shape the text, such as bold, italic, colours, etc.\n", "\n", "Here is the list of all formats." ] }, { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "{'text-orig-full': 'sign',\n", " 'text-orig-plain': 'sign',\n", " 'text-orig-rich': 'sign',\n", " 'text-orig-unicode': 'sign',\n", " 'layout-orig-rich': 'sign',\n", " 'layout-orig-unicode': 'sign'}" ] }, "execution_count": 6, "metadata": {}, "output_type": "execute_result" } ], "source": [ "T.formats" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Plain text formats\n", "\n", "The formats whose names start with `text-` are the plain text formats.\n", "\n", "### `text-orig-full`\n", "\n", "This format is really close to the ATF. It contains all original information.\n", "\n", "This is the default format. We do not have to specify it." ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "239995 nu-uk!(AZ)-ta-la-al-li-mu\n" ] }, { "data": { "text/html": [ "
P292987 reverse:1  nu-uk!(AZ)-ta-la-al-li-mu
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "239996 dumu ku3#-{d}nanna\n" ] }, { "data": { "text/html": [ "
P292987 reverse:2  dumu ku3#-{d}nanna
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "239997 i-he#-[er]-ri#\n" ] }, { "data": { "text/html": [ "
P292987 reverse:3  i-he#-[er]-ri#
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "239998 la-ma qa2-as-su2\n" ] }, { "data": { "text/html": [ "
P292987 reverse:4  la-ma qa2-as-su2
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "239999 isz#-ku-nu\n" ] }, { "data": { "text/html": [ "
P292987 reverse:5  isz#-ku-nu
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "240000 at#-ta hi-i-ri\n" ] }, { "data": { "text/html": [ "
P292987 reverse:6  at#-ta hi-i-ri
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "240001 u3 a-na\n" ] }, { "data": { "text/html": [ "" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "240002 i-szar-ku-bi\n" ] }, { "data": { "text/html": [ "
P292987 reverse:8  i-szar-ku-bi
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "for ln in lines:\n", " print(ln, T.text(ln))\n", " A.plain(ln)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "The `plain()` function focuses on the *contents*, and instead of the line number, it gives a full specification\n", "of the location, linked to the online source on CDLI.\n", "\n", "But we can omit the locations:" ] }, { "cell_type": "code", "execution_count": 8, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
nu-uk!(AZ)-ta-la-al-li-mu
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
dumu ku3#-{d}nanna
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
i-he#-[er]-ri#
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
la-ma qa2-as-su2
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
isz#-ku-nu
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
at#-ta hi-i-ri
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
u3 a-na
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
i-szar-ku-bi
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "for ln in lines:\n", " A.plain(ln, withPassage=False)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### `text-orig-plain`\n", "\n", "This is a somewhat reduced format. It omits all flags and bracketing constructs.\n", "\n", "For clarity, adjacent signs are separated with a `⁼` character." ] }, { "cell_type": "code", "execution_count": 9, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
P292987 reverse:1  nu-uk!AZ-ta-la-al-li-mu
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:2  dumu ku3-d⁼nanna
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:3  i-he-er-ri
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:4  la-ma qa2-as-su2
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:5  isz-ku-nu
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:6  at-ta hi-i-ri
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:8  i-szar-ku-bi
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "for ln in lines:\n", " A.plain(ln, fmt=\"text-orig-plain\")" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### `text-orig-rich`\n", "\n", "This format is a bit prettier: instead of the strict ASCII encoding used by the CDLI archive, it uses\n", "characters with diacritics.\n", "\n", "There is no flag/cluster information in this representation." ] }, { "cell_type": "code", "execution_count": 10, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
P292987 reverse:1  nu-uk=AZ-ta-la-al-li-mu
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:2  dumu ku₃-d⁼nanna
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:3  i-he-er-ri
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:4  la-ma qa₂-as-su₂
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:5  iš-ku-nu
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:6  at-ta hi-i-ri
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:7  u₃ a-na
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:8  i-šar-ku-bi
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "for ln in lines:\n", " A.plain(ln, fmt=\"text-orig-rich\")" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### `text-orig-unicode`\n", "\n", "This format uses the Cuneiform Unicode characters.\n", "\n", "Numerals with repeats are represented by placing that many copies of the character in question.\n", "\n", "Readings that could not be found in the\n", "[mapping](https://github.com/Nino-cunei/oldbabylonian/blob/master/sources/writing/GeneratedSignList.json)\n", "we use, appear in latin characters.\n", "\n", "There is no flag/cluster information in this representation." ] }, { "cell_type": "code", "execution_count": 11, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
P292987 reverse:1  𒉡𒊌=𒊍𒋫𒆷𒀠𒇷𒈬
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:2  𒌉 𒆬𒀭𒌶𒆠
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:3  𒄿𒄭𒅕𒊑
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:4  𒆷𒈠 𒂵𒊍𒍪
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:5  𒅖𒆪𒉡
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:6  𒀜𒋫 𒄭𒄿𒊑
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:7  𒅇 𒀀𒈾
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:8  𒄿𒊬𒆪𒁉
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "for ln in lines:\n", " A.plain(ln, fmt=\"text-orig-unicode\")" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Styled text formats\n", "\n", "The formats whose names start with `layout-` are the styled text formats.\n", "\n", "### `layout-orig-rich`\n", "\n", "This format looks like `text-orig-rich`, but now we re-introduce the flags and clusters by specific\n", "layout devices.\n", "\n", "See below for detailed examples." ] }, { "cell_type": "code", "execution_count": 12, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
P292987 reverse:1  nu-uk=AZ⌉-ta-la-al-li-mu
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:2  dumu ku₃-dnanna
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:3  i-he-er-ri
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:4  la-ma qa₂-as-su₂
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:5  -ku-nu
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:6  at-ta hi-i-ri
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:7  u₃ a-na
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:8  i-šar-ku-bi
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "for ln in lines:\n", " A.plain(ln, fmt=\"layout-orig-rich\")" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### `layout-orig-unicode`\n", "\n", "This format looks like `text-orig-unicode`, but now we re-introduce the flags and clusters by specific\n", "layout devices.\n", "\n", "See below for detailed examples." ] }, { "cell_type": "code", "execution_count": 13, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
P292987 reverse:1  𒉡𒊌=𒊍𒋫𒆷𒀠𒇷𒈬
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:2  𒌉 𒆬𒀭𒌶𒆠
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:3  𒄿𒄭𒅕𒊑
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:4  𒆷𒈠 𒂵𒊍𒍪
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:5  𒅖𒆪𒉡
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:6  𒀜𒋫 𒄭𒄿𒊑
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:7  𒅇 𒀀𒈾
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P292987 reverse:8  𒄿𒊬𒆪𒁉
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "for ln in lines:\n", " A.plain(ln, fmt=\"layout-orig-unicode\")" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Here is the text of the face in each of the plain text formats, i.e. no additional HTML formatting is applied." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Pretty\n", "\n", "The ultimate of graphical display is by means of the `pretty()` function.\n", "\n", "This display is less useful for reading, but instead optimized for showing all information that you might\n", "wish for.\n", "\n", "It shows a base representation according to a text format of your choice\n", "(here we choose `layout-orig-rich`), and it shows the values\n", "of a standard set of features." ] }, { "cell_type": "code", "execution_count": 14, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'_{d}suen_-i-[din-nam]'" ] }, "execution_count": 14, "metadata": {}, "output_type": "execute_result" } ], "source": [ "w = F.otype.s(\"word\")[1]\n", "F.atf.v(w)" ] }, { "cell_type": "code", "execution_count": 15, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
word _{d}suen_-i-[din-nam]
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "A.pretty(w)" ] }, { "cell_type": "code", "execution_count": 16, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
word:258164 𒀭𒂗𒍪𒄿𒁷𒉆
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "A.pretty(w, fmt=\"layout-orig-unicode\", withNodes=True)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "By default, pretty displays descend to the word level, but you can also descend to the sign level:" ] }, { "cell_type": "code", "execution_count": 17, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
word _{d}suen_-i-[din-nam]
cluster
cluster
_{d}
suen_-
i-
cluster
[din-
nam]
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "A.pretty(w, baseTypes=\"sign\")" ] }, { "cell_type": "code", "execution_count": 18, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
word:258164 𒀭𒂗𒍪𒄿𒁷𒉆
cluster:203221
cluster:203222
3 𒀭
4 𒂗𒍪
5 𒄿
cluster:203223
6 𒁷
7 𒉆
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "A.pretty(w, fmt=\"layout-orig-unicode\", baseTypes=\"sign\", withNodes=True)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Later on, in the [search](search.ipynb) tutorial we see that `pretty()` can also display other features,\n", "even features that you or other people have created and added later.\n", "\n", "Here we call for the feature `atf`, which shows the original ATF for the sign in question\n", "excluding the bracketing characters.\n", "\n", "Consult the\n", "[feature documentation](https://github.com/Nino-cunei/oldbabylonian/blob/master/docs//transcription.md)\n", "to see what information is stored in all the features.\n", "\n", "We show it with node numbers, but you could leave them out in an obvious way." ] }, { "cell_type": "code", "execution_count": 19, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
face:228928 P292987 reverse
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "A.pretty(f, extraFeatures=\"atf\", fmt=\"layout-orig-rich\", withNodes=True)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "We do not see much, because the default condense type is `line`, and a `document` is bigger than that.\n", "Objects bigger than de condense type will be abbreviated to a label that indicates their identity,\n", "not their contents.\n", "\n", "But we can override this by adding `full=True`.\n", "\n", "See also the documentation on [`pretty`](https://annotation.github.io/text-fabric/tf/advanced/display.html#tf.advanced.display.pretty)." ] }, { "cell_type": "code", "execution_count": 20, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
face:228928 P292987 reverse
line:239995
word:284534 nu-uk=AZ⌉-ta-la-al-li-mu
atf=nu-uk!(AZ)-ta-la-al-li-mu
line:239996
word:284535 dumu
atf=dumu
word:284536 ku₃-dnanna
atf=ku3#-{d}nanna
line:239997
word:284537 i-he-er-ri
atf=i-he#-[er]-ri#
line:239998
word:284538 la-ma
atf=la-ma
word:284539 qa₂-as-su₂
atf=qa2-as-su2
line:239999
word:284540 -ku-nu
atf=isz#-ku-nu
line:240000
word:284541 at-ta
atf=at#-ta
word:284542 hi-i-ri
atf=hi-i-ri
line:240001
word:284543 u₃
atf=u3
word:284544 a-na
atf=a-na
line:240002
word:284545 i-šar-ku-bi
atf=i-szar-ku-bi
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "A.pretty(f, extraFeatures=\"atf\", fmt=\"layout-orig-rich\", withNodes=True, full=True)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Layout formats: the details\n", "\n", "We give detailed examples of how the material is styled in the `layout-` formats.\n", "\n", "We show the representation of all kinds of signs and also what the influence of\n", "clustering and flags are.\n", "\n", "Here are the design principles:\n", "\n", "* all flags `# ? ! *` cause the preceding sign to be in bold\n", "* damage `#` and missing `[ ]` text is blurry and in grey\n", "* questioned `?` and uncertain `( )` text is in italics\n", "* remarkable `!` and supplied `< >` text is overlined, supplied text is in blue\n", "* excised `<< >>` text has a strike-through and is in red\n", "* collated `*` text is underlined\n", "\n", "**Numerals** are written with repeats/fractions and the repeated material is in `⌈ ⌉`.\n", "If represented in cuneiform unicode, repeated material is actually repeated that many times, and the repeat number and\n", "the brackets are not shown.\n", "\n", "**Ligatures** (the `x` operator as in `kux(DU)`) are written with the `␣` character between the operands, and the second\n", "operand (`DU`) is written between `⌈ ⌉`.\n", "\n", "**Corrections** (as in `ku!(LU)`) are written as `ku=⌈LU⌉`.\n", "\n", "Just a quick overview of the sign types:" ] }, { "cell_type": "code", "execution_count": 21, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "(('reading', 188292),\n", " ('unknown', 8761),\n", " ('numeral', 2184),\n", " ('ellipsis', 1617),\n", " ('grapheme', 1272),\n", " ('commentline', 969),\n", " ('complex', 122),\n", " ('comment', 2))" ] }, "execution_count": 21, "metadata": {}, "output_type": "execute_result" } ], "source": [ "F.type.freqList(\"sign\")" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Styled display of ATF text" ] }, { "cell_type": "code", "execution_count": 22, "metadata": {}, "outputs": [], "source": [ "lines = (\n", " ((\"P510536\", \"obverse\", \"15\"), (\"cluster: language\", [1, 2, 3])),\n", " ((\"P509373\", \"obverse\", \"1\"), (\"cluster: determinative\", [3])),\n", " ((\"P509375\", \"obverse\", \"3\"), (\"cluster: missing\", [1, 2, 3, 6])),\n", " ((\"P510736\", \"reverse\", \"5\"), (\"cluster: uncertain\", [6, 7, 8])),\n", " ((\"P510526\", \"obverse\", \"8\"), (\"cluster: supplied\", [7, 8, 9])),\n", " ((\"P373056\", \"obverse\", \"11\"), (\"cluster: excised\", [9, 10])),\n", " ((\"P510536\", \"obverse\", \"8\"), (\"flag: damage\", [1, 2, 3, 6, 9, 10])),\n", " ((\"P297171\", \"reverse\", \"1\"), (\"flag: question\", [3, 4, 5])),\n", " ((\"P510536\", \"obverse\", \"15\"), (\"flag: remarkable\", [6])),\n", " ((\"P387299\", \"obverse\", \"5\"), (\"flag: collated\", [1])),\n", " ((\"P510534\", \"reverse\", \"20'\"), (\"flag: damage + question\", [3])),\n", " ((\"P497780\", \"reverse\", \"4\"), (\"flag: damage + remarkable\", [1])),\n", " ((\"P305744\", \"obverse\", \"10\"), (\"flag: damage + collated\", [5])),\n", " ((\"P305799\", \"left side\", \"1\"), (\"flag: collated + remarkable\", [3, 5])),\n", " ((\"P305806\", \"reverse\", \"1\"), (\"flag: remarkable + question + collated\", [3])),\n", " ((\"P305744\", \"obverse\", \"10\"), (\"flag collated in cluster missing\", [6, 7])),\n", " ((\"P275088\", \"reverse\", \"2\"), (\"sign: comment\", [1])),\n", " ((\"P510636\", \"obverse\", \"3\"), (\"sign: grapheme\", [9])),\n", " ((\"P386451\", \"reverse\", \"11\"), (\"sign: correction\", [6])),\n", " ((\"P312032\", \"left edge\", \"1\"), (\"sign: numeral\", [4, 6])),\n", " ((\"P492284\", \"obverse\", \"5\"), (\"sign: ligature\", [2, 3])),\n", " ((\"P509373\", \"reverse\", \"18'\"), (\"sign: unknown and ellipsis\", [7, 8])),\n", ")" ] }, { "cell_type": "code", "execution_count": 23, "metadata": {}, "outputs": [ { "data": { "text/markdown": [ "---\n", "# cluster: language\n", "\n", "Location: P510536 obverse:15" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "15. _ma2 hi-a_ as-sa3-ki!-ip\n" ] }, { "data": { "text/html": [ "
P510536 obverse:15  ma₂ hi-a as-sa₃-ki-ip
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P510536 obverse:15  𒈣 𒄭𒀀 𒊍𒍝𒆠𒅁
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word ma₂
atf=_ma2
cluster
ma₂
atf=ma2
word hi-a
atf=hi-a_
cluster
hi-
atf=hi
a
atf=a
word as-sa₃-ki-ip
atf=as-sa3-ki!-ip
as-
atf=as
sa₃-
atf=sa3
ki-
atf=ki!
ip
atf=ip
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# cluster: determinative\n", "\n", "Location: P509373 obverse:1" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "1. [a-na] _{d}suen_-i-[din-nam]\n" ] }, { "data": { "text/html": [ "
P509373 obverse:1  a-na dsuen-i-din-nam
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P509373 obverse:1  𒀀𒈾 𒀭𒂗𒍪𒄿𒁷𒉆
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word a-na
atf=[a-na]
cluster
a-
atf=a
na
atf=na
word d⁼suen-i-din-nam
atf=_{d}suen_-i-[din-nam]
cluster
cluster
d⁼
atf=d
suen-
atf=suen
i-
atf=i
cluster
din-
atf=din
nam
atf=nam
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# cluster: missing\n", "\n", "Location: P509375 obverse:3" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "3. [um-ma x]-na-su-[x]-ma\n" ] }, { "data": { "text/html": [ "
P509375 obverse:3  um-ma x-na-su-x-ma
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P509375 obverse:3  𒌝𒈠 x𒈾𒋢x𒈠
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word um-ma
atf=[um-ma
cluster
um-
atf=um
ma
atf=ma
word x-na-su-x-ma
atf=x]-na-su-[x]-ma
cluster
x-
atf=x
na-
atf=na
su-
atf=su
cluster
x-
atf=x
ma
atf=ma
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# cluster: uncertain\n", "\n", "Location: P510736 reverse:5" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "5. ut,-t,e4-eh-[hu-u2-(szu-nu-ti)]\n" ] }, { "data": { "text/html": [ "
P510736 reverse:5  uṭ-ṭe₄-eh-hu-u₂-šu-nu-ti
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P510736 reverse:5  𒌓𒋼𒄴𒄷𒌑𒋗𒉡𒋾
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word uṭ-ṭe₄-eh-hu-u₂-šu-nu-ti
atf=ut,-t,e4-eh-[hu-u2-(szu-nu-ti)]
uṭ-
atf=ut,
ṭe₄-
atf=t,e4
eh-
atf=eh
cluster
hu-
atf=hu
u₂-
atf=u2
cluster
šu-
atf=szu
nu-
atf=nu
ti
atf=ti
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# cluster: supplied\n", "\n", "Location: P510526 obverse:8" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "8. a-na da-mi-iq-tim \n" ] }, { "data": { "text/html": [ "
P510526 obverse:8  a-na da-mi-iq-tim li-ki-il
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P510526 obverse:8  𒀀𒈾 𒁕𒈪𒅅𒁴 𒇷𒆠𒀧
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word a-na
atf=a-na
a-
atf=a
na
atf=na
word da-mi-iq-tim
atf=da-mi-iq-tim
da-
atf=da
mi-
atf=mi
iq-
atf=iq
tim
atf=tim
word li-ki-il
atf=<li-ki-il>
cluster
li-
atf=li
ki-
atf=ki
il
atf=il
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# cluster: excised\n", "\n", "Location: P373056 obverse:11" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "11. pu-ru#-us# a-na-ku i-na <>\n" ] }, { "data": { "text/html": [ "
P373056 obverse:11  pu-ru-us a-na-ku i-na i-na
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P373056 obverse:11  𒁍𒊒𒊻 𒀀𒈾𒆪 𒄿𒈾 𒄿𒈾
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word pu-ru-us
atf=pu-ru#-us#
pu-
atf=pu
ru-
atf=ru#
us
atf=us#
word a-na-ku
atf=a-na-ku
a-
atf=a
na-
atf=na
ku
atf=ku
word i-na
atf=i-na
i-
atf=i
na
atf=na
word i-na
atf=<<i-na>>
cluster
i-
atf=i
na
atf=na
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# flag: damage\n", "\n", "Location: P510536 obverse:8" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "8. tup#-pi2# ARAD#-i3-li2-szu# [is3-ni]-qa2#-am#\n" ] }, { "data": { "text/html": [ "
P510536 obverse:8  tup-pi₂ ARAD-i₃-li₂-šu is₃-ni-qa₂-am
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P510536 obverse:8  𒁾𒁉 𒀴𒉌𒉌𒋗 𒀊𒉌𒂵𒄠
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word tup-pi₂
atf=tup#-pi2#
tup-
atf=tup#
pi₂
atf=pi2#
word ARAD-i₃-li₂-šu
atf=ARAD#-i3-li2-szu#
ARAD-
atf=ARAD#
i₃-
atf=i3
li₂-
atf=li2
šu
atf=szu#
word is₃-ni-qa₂-am
atf=[is3-ni]-qa2#-am#
cluster
is₃-
atf=is3
ni-
atf=ni
qa₂-
atf=qa2#
am
atf=am#
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# flag: question\n", "\n", "Location: P297171 reverse:1" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "1. ki-ma UD?-AD?-DI? i-na-ad-di-[x]\n" ] }, { "data": { "text/html": [ "
P297171 reverse:1  ki-ma UD-AD-DI i-na-ad-di-x
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P297171 reverse:1  𒆠𒈠 𒌓𒀜𒁲 𒄿𒈾𒀜𒁲x
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word ki-ma
atf=ki-ma
ki-
atf=ki
ma
atf=ma
word UD-AD-DI
atf=UD?-AD?-DI?
UD-
atf=UD?
AD-
atf=AD?
DI
atf=DI?
word i-na-ad-di-x
atf=i-na-ad-di-[x]
i-
atf=i
na-
atf=na
ad-
atf=ad
di-
atf=di
cluster
x
atf=x
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# flag: remarkable\n", "\n", "Location: P510536 obverse:15" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "15. _ma2 hi-a_ as-sa3-ki!-ip\n" ] }, { "data": { "text/html": [ "
P510536 obverse:15  ma₂ hi-a as-sa₃-ki-ip
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P510536 obverse:15  𒈣 𒄭𒀀 𒊍𒍝𒆠𒅁
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word ma₂
atf=_ma2
cluster
ma₂
atf=ma2
word hi-a
atf=hi-a_
cluster
hi-
atf=hi
a
atf=a
word as-sa₃-ki-ip
atf=as-sa3-ki!-ip
as-
atf=as
sa₃-
atf=sa3
ki-
atf=ki!
ip
atf=ip
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# flag: collated\n", "\n", "Location: P387299 obverse:5" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "5. _8(gesz2)* sze gur_ i-ib-szu-u2\n" ] }, { "data": { "text/html": [ "
P387299 obverse:5  8geš₂ še gur i-ib-šu-u₂
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P387299 obverse:5  𒐜 𒊺 𒄥 𒄿𒅁𒋗𒌑
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word 8(geš₂)
atf=_8(gesz2)*
cluster
8(geš₂)
atf=8(gesz2)*
word še
atf=sze
cluster
še
atf=sze
word gur
atf=gur_
cluster
gur
atf=gur
word i-ib-šu-u₂
atf=i-ib-szu-u2
i-
atf=i
ib-
atf=ib
šu-
atf=szu
u₂
atf=u2
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# flag: damage + question\n", "\n", "Location: P510534 reverse:20'" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "20'. li#-il#-qe2#?-[szu-ma?]\n" ] }, { "data": { "text/html": [ "
P510534 reverse:20'  li-il-qe₂-šu-ma
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P510534 reverse:20'  𒇷𒀧𒆠𒋗𒈠
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word li-il-qe₂-šu-ma
atf=li#-il#-qe2#?-[szu-ma?]
li-
atf=li#
il-
atf=il#
qe₂-
atf=qe2#?
cluster
šu-
atf=szu
ma
atf=ma?
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# flag: damage + remarkable\n", "\n", "Location: P497780 reverse:4" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "4. lu#!-usz-ku-un-ma\n" ] }, { "data": { "text/html": [ "
P497780 reverse:4  lu--ku-un-ma
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P497780 reverse:4  𒇻𒍑𒆪𒌦𒈠
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word lu-uš-ku-un-ma
atf=lu#!-usz-ku-un-ma
lu-
atf=lu#!
uš-
atf=usz
ku-
atf=ku
un-
atf=un
ma
atf=ma
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# flag: damage + collated\n", "\n", "Location: P305744 obverse:10" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "10. u3 a-na di*-ia#*-[at* t,e*]-e-em\n" ] }, { "data": { "text/html": [ "
P305744 obverse:10  u₃ a-na di-ia-at ṭe-e-em
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P305744 obverse:10  𒅇 𒀀𒈾 𒁲𒅀𒀜 𒁲𒂊𒅎
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word u₃
atf=u3
u₃
atf=u3
word a-na
atf=a-na
a-
atf=a
na
atf=na
word di-ia-at
atf=di*-ia#*-[at*
di-
atf=di*
ia-
atf=ia#*
cluster
at
atf=at*
word ṭe-e-em
atf=t,e*]-e-em
cluster
ṭe-
atf=t,e*
e-
atf=e
em
atf=em
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# flag: collated + remarkable\n", "\n", "Location: P305799 left side:1" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "1. ki-ma ta!*-da*-ga!*-li* eb*-szi\n", "@left side\n" ] }, { "data": { "text/html": [ "
P305799 left side:1  ki-ma ta-da-ga-li eb-ši
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P305799 left side:1  𒆠𒈠 𒋫𒁕𒂵𒇷 𒅁𒅆
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word ki-ma
atf=ki-ma
ki-
atf=ki
ma
atf=ma
word ta-da-ga-li
atf=ta!*-da*-ga!*-li*
ta-
atf=ta!*
da-
atf=da*
ga-
atf=ga!*
li
atf=li*
word eb-ši
atf=eb*-szi
eb-
atf=eb*
ši
atf=szi
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# flag: remarkable + question + collated\n", "\n", "Location: P305806 reverse:1" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "1. ia-ti er?!*-ha-tu-szu\n" ] }, { "data": { "text/html": [ "
P305806 reverse:1  ia-ti er-ha-tu-šu
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P305806 reverse:1  𒅀𒋾 𒅕𒄩𒌅𒋗
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word ia-ti
atf=ia-ti
ia-
atf=ia
ti
atf=ti
word er-ha-tu-šu
atf=er?!*-ha-tu-szu
er-
atf=er?!*
ha-
atf=ha
tu-
atf=tu
šu
atf=szu
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# flag collated in cluster missing\n", "\n", "Location: P305744 obverse:10" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "10. u3 a-na di*-ia#*-[at* t,e*]-e-em\n" ] }, { "data": { "text/html": [ "
P305744 obverse:10  u₃ a-na di-ia-at ṭe-e-em
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P305744 obverse:10  𒅇 𒀀𒈾 𒁲𒅀𒀜 𒁲𒂊𒅎
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word u₃
atf=u3
u₃
atf=u3
word a-na
atf=a-na
a-
atf=a
na
atf=na
word di-ia-at
atf=di*-ia#*-[at*
di-
atf=di*
ia-
atf=ia#*
cluster
at
atf=at*
word ṭe-e-em
atf=t,e*]-e-em
cluster
ṭe-
atf=t,e*
e-
atf=e
em
atf=em
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# sign: comment\n", "\n", "Location: P275088 reverse:2" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "2. ($ blank space $) 8(disz) _lu2-mesz_ an-nu-ti-in\n" ] }, { "data": { "text/html": [ "
P275088 reverse:2  blank space 8dišlu₂-meš an-nu-ti-in
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P275088 reverse:2  blank space 𒐍 𒇽𒈨𒌍 𒀭𒉡𒋾𒅔
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word ($ blank space $)
($ blank space $)
atf=($ blank space $)
word 8(diš)
atf=8(disz)
8(diš)
atf=8(disz)
word lu₂-meš
atf=_lu2-mesz_
cluster
lu₂-
atf=lu2
meš
atf=mesz
word an-nu-ti-in
atf=an-nu-ti-in
an-
atf=an
nu-
atf=nu
ti-
atf=ti
in
atf=in
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# sign: grapheme\n", "\n", "Location: P510636 obverse:3" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "3. um-ma {d}suen-isz-me-a-ni _ARAD_-ka-ma\n" ] }, { "data": { "text/html": [ "
P510636 obverse:3  um-ma dsuen--me-a-ni ARAD-ka-ma
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P510636 obverse:3  𒌝𒈠 𒀭𒂗𒍪𒅖𒈨𒀀𒉌 𒀴𒅗𒈠
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word um-ma
atf=um-ma
um-
atf=um
ma
atf=ma
word d⁼suen-iš-me-a-ni
atf={d}suen-isz-me-a-ni
cluster
d⁼
atf=d
suen-
atf=suen
iš-
atf=isz
me-
atf=me
a-
atf=a
ni
atf=ni
word ARAD-ka-ma
atf=_ARAD_-ka-ma
cluster
ARAD-
atf=ARAD
ka-
atf=ka
ma
atf=ma
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# sign: correction\n", "\n", "Location: P386451 reverse:11" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "11. {disz}pa#-ri-du-um il!(AL)-qe2\n" ] }, { "data": { "text/html": [ "
P386451 reverse:11  dišpa-ri-du-um il=AL⌉-qe₂
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P386451 reverse:11  𒁹𒉺𒊑𒁺𒌝 𒀧=𒀠𒆠
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word diš⁼pa-ri-du-um
atf={disz}pa#-ri-du-um
cluster
diš⁼
atf=disz
pa-
atf=pa#
ri-
atf=ri
du-
atf=du
um
atf=um
word il=AL-qe₂
atf=il!(AL)-qe2
il=AL-
atf=il!(AL)
qe₂
atf=qe2
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# sign: numeral\n", "\n", "Location: P312032 left edge:1" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "1. e-zi-ib _3(u) gur 8(asz) ziz2-an-na_\n" ] }, { "data": { "text/html": [ "
P312032 left edge:1  e-zi-ib 3u gur 8 ziz₂-an-na
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P312032 left edge:1  𒂊𒍣𒅁 𒌍 𒄥 𒐆 𒀾𒀭𒈾
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word e-zi-ib
atf=e-zi-ib
e-
atf=e
zi-
atf=zi
ib
atf=ib
word 3(u)
atf=_3(u)
cluster
3(u)
atf=3(u)
word gur
atf=gur
cluster
gur
atf=gur
word 8(aš)
atf=8(asz)
cluster
8(aš)
atf=8(asz)
word ziz₂-an-na
atf=ziz2-an-na_
cluster
ziz₂-
atf=ziz2
an-
atf=an
na
atf=na
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# sign: ligature\n", "\n", "Location: P492284 obverse:5" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "5. _mu-kux(DU)#_ [x x x]-tum?\n" ] }, { "data": { "text/html": [ "
P492284 obverse:5  mu-kuDU x x x-tum
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P492284 obverse:5  𒈬𒆪𒁺 x x x𒌈
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word mu-ku␣DU
atf=_mu-kux(DU)#_
cluster
mu-
atf=mu
ku␣DU
atf=kux(DU)#
word x
atf=[x
cluster
x
atf=x
word x
atf=x
cluster
x
atf=x
word x-tum
atf=x]-tum?
cluster
x-
atf=x
tum
atf=tum?
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "---\n", "# sign: unknown and ellipsis\n", "\n", "Location: P509373 reverse:18'" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "18'. u2-ul a-sza-ap-pa-[x ...]\n" ] }, { "data": { "text/html": [ "
P509373 reverse:18'  u₂-ul a-ša-ap-pa-x ...
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
P509373 reverse:18'  𒌑𒌌 𒀀𒊭𒀊𒉺x ...
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
line
word u₂-ul
atf=u2-ul
u₂-
atf=u2
ul
atf=ul
word a-ša-ap-pa-x
atf=a-sza-ap-pa-[x
a-
atf=a
ša-
atf=sza
ap-
atf=ap
pa-
atf=pa
cluster
x
atf=x
word
atf=...]
cluster
atf=...
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "for (line, (desc, positions)) in lines:\n", " ln = T.nodeFromSection(line)\n", " A.dm(\"---\\n# {}\\n\\nLocation: {} {}:{}\".format(desc, *line))\n", " s = L.d(ln, otype=\"sign\")[0]\n", " highlights = {s + p - 1 for p in positions}\n", " print(*A.getSource(ln), sep=\"\\n\")\n", " A.plain(ln, fmt=\"layout-orig-rich\", highlights=highlights)\n", " A.plain(ln, fmt=\"layout-orig-unicode\", highlights=highlights)\n", " A.pretty(\n", " ln,\n", " extraFeatures=\"atf\",\n", " fmt=\"text-orig-rich\",\n", " baseTypes=\"sign\",\n", " highlights=highlights,\n", " )" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "---\n", "\n", "All chapters:\n", "\n", "* **[start](start.ipynb)** introduction to computing with your corpus\n", "* **display** become an expert in creating pretty displays of your text structures\n", "* **[search](search.ipynb)** turbo charge your hand-coding with search templates\n", "* **[exportExcel](exportExcel.ipynb)** make tailor-made spreadsheets out of your results\n", "* **[share](share.ipynb)** draw in other people's data and let them use yours\n", "* **[similarLines](similarLines.ipynb)** spot the similarities between lines\n", "\n", "---\n", "\n", "See the [cookbook](cookbook) for recipes for small, concrete tasks.\n", "\n", "CC-BY Dirk Roorda" ] } ], "metadata": { "jupytext": { "encoding": "# -*- coding: utf-8 -*-" }, "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.12.3" }, "toc": { "base_numbering": 1, "nav_menu": {}, "number_sections": true, "sideBar": true, "skip_h1_title": false, "title_cell": "Table of Contents", "title_sidebar": "Contents", "toc_cell": false, "toc_position": {}, "toc_section_display": "block", "toc_window_display": false }, "widgets": { "application/vnd.jupyter.widget-state+json": { "state": {}, "version_major": 2, "version_minor": 0 } } }, "nbformat": 4, "nbformat_minor": 4 }