Feature/#76 collation based on sections
Feature
Summary
This MR provides plain texts according to the semantic divisions of a text which are indicated by tei:milestone
.
Even if a manuscript doesn't provide a certain section, the corresponding TXT is created so that the collation results do not get distorted.
Each semantic division is stored in a separate *.txt at /txt/
and provided as a ZIP at content/ahikar-plain-text.zip
.
Compliance to “Definition of Done”
-
Unit tests passed -
Code reviewed -
Acceptance criteria met -
Functional tests passed -
Non-Functional requirements met -
Product Owner accepts the User Story
Use Cases
This feature is necessary for collating the text based on their semantic divisions. This allows for parallelizing the collation and thus speeding it ip.
Documentation
-
I updated the README (if applicable) -
I provided my functions with appropriate documentation -
I updated existing documentation
Tests
Are we able to test this new feature?
-
Yes, everything can be done via unit tests. -
Yes, you can test by following these steps:
- eventually re-run a pipeline for this branch
curl https://ahikar-test.sub.uni-goettingen.de/api/content/ahikar-plain-text.zip --output ahikar-plain-text.zip
OR
- Build the database locally
- Load some Ahiqar data
- Import
tapi-txt.xqm
to a new XQuery script and runtapi-txt:main()
- See the results in SADE's
txt
collection
Changelog
-
I added a statement to the CHANGELOG.
Version number
-
I bumped the version number in build.properties
.
Related Tickets
Closes
Closes #76 (closed).
Edited by Michelle Weidling