https://github.com/unfoldingword-dev/tw_consistency
tW Consistency Check with ULB
https://github.com/unfoldingword-dev/tw_consistency
Last synced: 11 months ago
JSON representation
tW Consistency Check with ULB
- Host: GitHub
- URL: https://github.com/unfoldingword-dev/tw_consistency
- Owner: unfoldingWord-dev
- Created: 2017-06-16T19:00:06.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-22T12:10:23.000Z (almost 9 years ago)
- Last Synced: 2025-03-13T03:43:51.247Z (over 1 year ago)
- Language: Python
- Size: 66.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tW Consistency
This repository contains code to aid the content team(s) in achieving consistency between the tW and the ULB text.
## Setup
The USFM and translationWords need to be downloaded into the sources directory. Do the following to get setup:
git clone https://github.com/unfoldingWord-dev/tw_consistency.git
cd tw_consistency/sources
git clone https://git.door43.org/Door43/en_tw.git tw
git clone https://git.door43.org/Door43/en_ulb.git usfm
## Tests
You can run tests via `python tests.py`.
## Running
### Running a Comparison Export
If you want to check the current list of tWs against the current USFM, you can run:
python process.py -e
This will generate a file named `tw_review.csv` in the current working directory. By default, every entry is marked TRUE to make reviewing for false-positives easier.
### Importing a Reviewed File
After the `tw_review.csv` has been reviewed for correctness, you can import the resulting data into the `config.yaml` file by running:
python process.py -i
## Future
This is a short term solution that will aid consistency for the June/July 2017 release of our English source content. Longer term this consistency feature will be based off Strongs numbers.