Skip to content

Commit

Permalink
Use different font list for grc training
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nickjwhite committed Sep 10, 2015
1 parent de789ac commit 714d2cc
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion training/language-specific.sh
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,30 @@ GREEK_FONTS=( \
"VL PGothic" \
)

ANCIENT_GREEK_FONTS=( \
"GFS Artemisia \
"GFS Artemisia Bold" \
"GFS Artemisia Bold Italic" \
"GFS Artemisia Italic" \
"GFS Bodoni" \
"GFS Bodoni Bold" \
"GFS Bodoni Bold Italic" \
"GFS Bodoni Italic" \
"GFS Didot" \
"GFS Didot Bold" \
"GFS Didot Bold Italic" \
"GFS Didot Italic" \
"GFS DidotClassic" \
"GFS Neohellenic" \
"GFS Neohellenic Bold" \
"GFS Neohellenic Bold Italic" \
"GFS Neohellenic Italic" \
"GFS Philostratos" \
"GFS Porson" \
"GFS Pyrsos" \
"GFS Solomos" \
)
ARABIC_FONTS=( \
"Arabic Transparent Bold" \
"Arabic Transparent" \
Expand Down Expand Up @@ -1039,10 +1063,14 @@ set_lang_specific_parameters() {
chr ) test -z "$FONTS" && FONTS=( "${NORTH_AMERICAN_ABORIGINAL_FONTS[@]}" \
"Noto Sans Cherokee" \
) ;;
ell | grc )
ell )
NUMBER_DAWG_FACTOR=0.05
WORD_DAWG_FACTOR=0.08
test -z "$FONTS" && FONTS=( "${GREEK_FONTS[@]}" ) ;;
grc )
NUMBER_DAWG_FACTOR=0.05
WORD_DAWG_FACTOR=0.08
test -z "$FONTS" && FONTS=( "${ANCIENT_GREEK_FONTS[@]}" ) ;;
hye ) test -z "$FONTS" && FONTS=( "${ARMENIAN_FONTS[@]}" ) ;;
iku ) test -z "$FONTS" && FONTS=( "${NORTH_AMERICAN_ABORIGINAL_FONTS[@]}" ) ;;
kat) test -z "$FONTS" && FONTS=( "${GEORGIAN_FONTS[@]}" ) ;;
Expand Down

0 comments on commit 714d2cc

Please sign in to comment.