New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

ptxaligner

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ptxaligner

a command line tool to pre-align PTX files with a greek usfm and another usfm from the desired language, into one pre-aligned usfm.

latest
Source
npmnpm
Version
1.4.1
Version published
Maintainers
1
Created
Source

ptxaligner

Usage as a npm package

$ npm install -g ptxaligner

then

$ ptxaligner -h     # to see the list of available commands
$ ptxaligner ./path/to/your/config.json

you have an example of a config.json in the directory 'tests' with a template

  • Greek usfm ressources can be found here : https://git.door43.org/unfoldingWord/el-x-koine_ugnt
  • French Ptx ressources can be found here : https://github.com/mvh-solutions/aligned-lsg1910/tree/main/source_data/alignment/frPtx
  • Target languages :

For developpers

Getting Started

$ npm install
$ npm run build

then for an alignment usfm for a french text

$ npm run testfr

or for an alignment usfm for a spanish text

$ npm run testes

or

npx ptxaligner ./path/to/your/config/file.json

How to make your own config file

see the json template below :
config.json

{
  "greek_usfm_path": "",
  "greek_selectors": {"lang": "gre", "abbr": "ugnt"},
  "raw_usfm_path": "",
  "raw_usfm_selectors":  {"lang": "YOUR_3_LETTER_LONG_LANG", "abbr": "PUT_UST_FOR_EG"},
  "ptx_path": ""
}

Make sure to fill in all the fields with the appropriate http path.
You can have an example in tests/test_titus.json

Contribute

This package is still in early development.
But feel free to make a ticket if you run into any problems.

Keywords

ptx

FAQs

Package last updated on 14 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts