# Pseudo-Vietnamese generated by Gordon Rugg's method # Last edited on 2004-02-29 07:56:56 by stolfi LINKS ln -s ${STOLFIHOME}/voynich/work/format-words-filled PREPARING THE TABLE Gordon's method requires a table with three columns - prefix, medfix, suffix. We take a list of the N most common Vietnamese words and split them into initial consonant, middle vowels+tones, and final consonants. set tbsz = 520 cat temp.txt \ | tr 'A-Z' 'a-z' \ | head -${tbsz} \ | factor-viqr-words \ > main.gru rm -f main.src cat pref.src >> main.src echo "@section 1 {b1}" >> main.src @ nf = 1 foreach g ( \ 000 174 259 323 497 560 634 719 883 957 \ 012 186 261 335 409 572 646 721 895 969 \ 024 198 274 347 411 584 658 734 807 971 \ 036 102 286 359 423 596 662 746 819 983 \ 048 124 298 361 437 508 684 758 821 997 \ 051 136 200 374 449 511 696 760 834 909 \ ) echo "@section 2 {f${nf}r}" >> main.src echo "@section 3 {tx}" >> main.src echo "# Grille = ${g}" >> main.src cat main.gru \ | rugg-generator \ -v grilles="${g}" \ -v tokens="${tbsz}" \ | format-words-filled \ >> main.src echo "# " >> main.src @ nf = ${nf} + 1 end echo "# END OF TEXT" >> main.src