Skip to content

Commit 714d2cc

Browse files
committed
Use different font list for grc training
This font list contains a selection fonts produced by the Greek Font Society <http://greekfontsociety.gr>, and is the result of testing with a large corpus of a variety of scanned works.
1 parent de789ac commit 714d2cc

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

training/language-specific.sh

+29-1
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,30 @@ GREEK_FONTS=( \
353353
"VL PGothic" \
354354
)
355355

356+
ANCIENT_GREEK_FONTS=( \
357+
"GFS Artemisia \
358+
"GFS Artemisia Bold" \
359+
"GFS Artemisia Bold Italic" \
360+
"GFS Artemisia Italic" \
361+
"GFS Bodoni" \
362+
"GFS Bodoni Bold" \
363+
"GFS Bodoni Bold Italic" \
364+
"GFS Bodoni Italic" \
365+
"GFS Didot" \
366+
"GFS Didot Bold" \
367+
"GFS Didot Bold Italic" \
368+
"GFS Didot Italic" \
369+
"GFS DidotClassic" \
370+
"GFS Neohellenic" \
371+
"GFS Neohellenic Bold" \
372+
"GFS Neohellenic Bold Italic" \
373+
"GFS Neohellenic Italic" \
374+
"GFS Philostratos" \
375+
"GFS Porson" \
376+
"GFS Pyrsos" \
377+
"GFS Solomos" \
378+
)
379+
356380
ARABIC_FONTS=( \
357381
"Arabic Transparent Bold" \
358382
"Arabic Transparent" \
@@ -1039,10 +1063,14 @@ set_lang_specific_parameters() {
10391063
chr ) test -z "$FONTS" && FONTS=( "${NORTH_AMERICAN_ABORIGINAL_FONTS[@]}" \
10401064
"Noto Sans Cherokee" \
10411065
) ;;
1042-
ell | grc )
1066+
ell )
10431067
NUMBER_DAWG_FACTOR=0.05
10441068
WORD_DAWG_FACTOR=0.08
10451069
test -z "$FONTS" && FONTS=( "${GREEK_FONTS[@]}" ) ;;
1070+
grc )
1071+
NUMBER_DAWG_FACTOR=0.05
1072+
WORD_DAWG_FACTOR=0.08
1073+
test -z "$FONTS" && FONTS=( "${ANCIENT_GREEK_FONTS[@]}" ) ;;
10461074
hye ) test -z "$FONTS" && FONTS=( "${ARMENIAN_FONTS[@]}" ) ;;
10471075
iku ) test -z "$FONTS" && FONTS=( "${NORTH_AMERICAN_ABORIGINAL_FONTS[@]}" ) ;;
10481076
kat) test -z "$FONTS" && FONTS=( "${GEORGIAN_FONTS[@]}" ) ;;

0 commit comments

Comments
 (0)