Additional features for the N1904-TF, the syntactic annotated Text-Fabric dataset of the Greek New Testament.
About this datasetFeature group | Feature type | Data type | Available for node types | Feature status |
---|---|---|---|---|
Miscellaneous |
Node |
str |
sentence |
⚠️ |
Penn tree like syntax tree.
A penn tree like string.
The trees can be printed using packages like nltk.
from nltk import Tree
ptbString=F.penntree.v(sentenceNode)
tree = Tree.fromstring(ptbString)
tree.pretty_print() # console-style print
S
|
WG
___________________________________|_________________
CL |
_______|________________ |
| NP-SBJ |
| ________________|_____________ |
| | | CL |
| | | _____________|____ |
VP-V | | VP-V PP-ADV CL
| | | | _________|______ ____|____________
VERB NOUN PUNCT VERB PREP NOUN PUNCT NOUN PRON NOUN PUNCT
| | | | | | | | | | |
ἐγένετο ἄνθρωπος , ἀπεσταλμένος παρὰ θεοῦ , ὄνομα αὐτῷ ἰωάνης ·