We demonstrate how Text-Fabric can handle the display of text and annotations, even when chunks of text are not properly embedded in each other. This demo contains examples from the Hebrew Bible and the Old Babylonian Letters (cuneiform clay tablets).
Hierarchy of management that covers different levels of management
Text Display (when it gets tricky)
1. Text display
- when it gets tricky -
Dirk Roorda
ETCBC Meeting 2020-09-22
zoom
2. Preliminary
dirk:~/github > python3
Python 3.8.5 (v3.8.5:580fbb018f, Jul 20 2020, 12:11:27)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more
information.
>>> from tf.parameters import VERSION
>>> VERSION
'8.4.2'
>>> exit()
dirk:~/github >
• Is Python installed?
• Is Text-Fabric installed?
get started
3. two interfaces
• TF browser
• Jupyter Notebook
• (but TF can also be used in
ordinary Python programs)
5. plain is capable of more
• word highlights
See this online
• phrase highlights
• word and phrase highlights
• complete control over highlighting
6. less is more for pretty (1)
See this online
• rich structure info
• reduced structure info
7. less is more for pretty (2)
See this online
• rich structure info
• phrase atoms
• subphrases
• reduced structure info
• subphrases
• minimal structure info
• (almost plain)
8. A real-world query
• We ask for a sentence in which there
are three clauses, each entirely before
the next one:
1. having predicate phrase
containing a verb.
2. having a predicate phrase, a
verb is not required nor
forbidden.
3. having an object phrase
containing a (proper) noun or
personal/demonstrative/
interrogative pronoun.
(posed by Stephen Ku)
See this online
plain view
pretty view