Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
scripts
.gitignore
README.md
aramaicParsingsNotMatchingNumWordParts.txt
bothNouns.txt
code_validator.js
correctMainTables.js
correctMainTablesOutput.txt
exportToOsis.js
getBothNouns.js
latestScriptOutput.txt
makeIdList.js
mappings.js
package.json
prepEtcbcDbForValidate.js
report.js
run.js
updateMainTables.js
utils.js
xmlImportExportDiff.txt

README.md

Installation

npm install

Create .env and add DB_NAME, HOSTNAME, USERNAME, PASSWORD

Executing

node run.js

The Scripts

fix

Corrects parsings (morph column) in the notes_enhanced table according to the rules here.

weedOut

Deletes rows from the notes_enhanced table according to the rules here.

flag

Not yet implemented.

compare

Updates the morph and status columns in the words_enhanced table based upon the updated notes_enhanced table

guessParse

Updates the morph column (and gives it a status of single) of the words_enhanced table where the status is none or conflict, and the word can be guessed at based on the parsing of this form in other places.

autoParse

Updates the morph column (and gives it a status of single) on common forms (with pre-determined parsings) of the words_enhanced table where the status is not confirmed or verified. For example, prototypical uses of particles are parsed in this fashion.

check

Not yet implemented.

validate

Not yet implemented.

Applying to data

node updateMainTables.js

This command will create new notes and wordnote rows where the words_enhanced parsing is not represented there already. It then swaps in words_enhanced for words.

You can’t perform that action at this time.