Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,4 @@ ext/arabic_rom/data
scriptshifter/data/*.db
!.keep
VERSION
.~lock.*
2 changes: 1 addition & 1 deletion ext/arabic_rom
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ flask>=2.3,<3
flask-cors>=4.0,<5
python-dotenv>=1.0,<2
pyyaml>=6.0,<7
regex>=2023.8.8
uwsgi>=2.0,<2.1
yiddish==0.0.21
4 changes: 2 additions & 2 deletions scriptshifter/hooks/arabic/build_model.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ python3 src/loc_transcribe.py predict mle dev --mle_model models/mle/size1.0.tsv

# Seq2Seq
echo "Preparing Seq2seq."
make prep_seq2seq
python3 src/data/make_seq2seq_dataset.py -l ${SS_LANG}
echo "Training models."
python3 src/loc_transcribe.py train seq2seq --train --size {1.0,0.5,0.25,0.125,0.0625,0.03125,0.015625}
python3 src/data/make_seq2seq_dataset.py --size {1.0,0.5,0.25,0.125,0.0625,0.03125,0.015625}
2 changes: 0 additions & 2 deletions scriptshifter/tables/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@
)
# Package path where hook functions are kept.
HOOK_PKG_PATH = "scriptshifter.hooks"
# Default characters defining a word boundary. This is configurable per-table.
WORD_BOUNDARY = " \n\t:;.,\"'-()[]{}"

# Token word boundary marker. Used in maps to distinguish special
# transliterations for initial, final, and standalone tokens.
Expand Down
Loading