N1904-TF

Text-Fabric dataset of the Greek New Testament, based on the Nestle 1904 (7th printing) edition.

About this dataset
Transcription
Featureset
Optional features
Viewtypes
Textformats
Syntaxtrees
Tutorial
Latest release

Nestle 1904 GNT - Feature: chapter

Feature group Feature type Data type Available for node types Used by viewtypes
Sectional Node Integer chapter verse sentence group clause wg phrase subphrase word syntax-view wg-view

Feature description

This feature indicates the chapter number within a book.

Feature values

An integer.

Notes

Not all nodetypes provide this feature. To determine the chapter for nodetypes sentence, wg, phrase, subphrase, or group, the following snippet can be used.

    # the node number of the wordgroup is stored in wgNode
    wgNode=390658   # this is a wg in Matt. 1:1
    chapterNode=L.u(wgNode,otype='chapter')[0]  # returns a tuple
    chapter=F.chapter.v(chapterNode)
    print (chapter) # Output: 1

This snippet returns 1 as the value for the chapter feature.

Source description

The chapter information is calculated from the XML attribute ref of the w (word) tag.


Browse all features by name, node type, data type, feature group or feature type.