Skip to content

tonyjurg/N1904addons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Status: Active – The project has reached a stable, usable state and is being actively developed. License: CC BY 4.0

N1904addons

This repository offers a set of features built specifically for use with the N1904 Text-Fabric dataset. Text-Fabric is a powerful platform for analyzing biblical texts with linguistic and structural detail.

Go to the documentation section or the GitHub pages site to examine the features provided by this dataset.

Adding the features

First you need to load the TF software and make use available:

# Loading the Text-Fabric code
from tf.fabric import Fabric
from tf.app import use

When loading N1904TF, by default, any additional features are not loaded. To include them, use the mod option during invocation, as shown below:

# Load the N1904-TF app and data with the additional features
A = use ("CenterBLC/N1904", version="1.0.0", mod="tonyjurg/N1904addons/tf/", hoist=globals())

To use this functionality, the Text-Fabric package must support downloading files from GitHub. If Text-Fabric was installed without GitHub functionality, you might encounter errors like the following when trying to load the additional features:

The requested data is not available offline
	~/text-fabric-data/github/tonyjurg/N1904addons/tf/1.0.0 not found
Backend provider github not supported.
Cannot reach online data on github
Try installing text-fabric one of the following:
pip install text-fabric[github]
pip install text-fabric[all]

To resolve this issue, ensure that GitHub support is added to Text-Fabric by running:

!pip install text-fabric[github]

Since GitHub implemented a API rate limit of 60 requests per hour, it is recommended to use a personal access token to increase this rate limit. Refer to the following resources for guidance:

Tools used

The standard set of tools (Python documentation, tech sites like stackoverflow, and Python syntax checkers like Pythonium) were used to create this package. Furthermore, for the creation of a subset of features, also the Anaconda Assistant (using OpenAI as backend) and/or GitHub Copilot in Visual Studio were used to debug and/or optimize parts of the code. See the individual notebooks for details.

BibTeX

@software{Jurg_N1904addons_-_Additional_2025,
author = {Jurg, Tony},
doi = {TBD},
month = apr,
title = {{N1904addons - Additional features for N1904 Text Fabric dataset}},
url = {https://github.com/tonyjurg/N1904addons},
version = {0.1},
year = {2025}
}

About

Additional Text-Fabric features for use with the N1904-TF dataset of the Greek New Testament

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages