Cassell's Latin Dictionary

Tlepolemus

Civis Illustris

  • Civis Illustris

You are alive! A was so worried, you didn't answer to my comments on Archive.org. I was checking the page every day, and this terrible virus... I'm glad you are fine and the dictionary is excellent! Thank you.
 

Perry Jennings

New Member

You are alive! A was so worried, you didn't answer to my comments on Archive.org. I was checking the page every day, and this terrible virus... I'm glad you are fine and the dictionary is excellent! Thank you.
Yes, thank you for your concern. I have been well, and hope you as well. Glad you like the finished product. I have been seeding my little work everywhere that seems appropriate including github where I included a little gawk script below. I'm very busy, so you might not see me for awhile. Take care.

#!/bin/bash -
#
# cat Latin vocabulary word list into this script and definitions thereof are printed
# cat word_list | printCDLW.sh
# or echo "word1 word2 ..." | printCDLW.sh
# This is intended as just a quick and simple script.
#
while read Ws
do
input_word_list="$input_word_list $Ws"
done
# obviously you should change below path to suit your system
dictionary_file="/home/perry/Cassells_package/CassellsDict_10Jan2021"
if [ -e "$dictionary_file" ]
then
echo "$input_word_list" | tr -s ' ' '\n' | sort | uniq | tr A-Z a-z |
gawk -- ' NR==FNR {
wordlist[FNR, 1] = $0; wordlist[FNR, 2] = "0"; maxrc=FNR
}
NR>FNR {
for (rc = 1; rc <= maxrc; rc++)
if (tolower($1) == wordlist[rc, 1])
print $0; wordlist[rc, 2] = "1"
}
# END {
# print " "
# print "Any words not found are listed below..."
# for (rc = 1; rc <= maxrc; rc++)
# if (wordlist[rc, 2] == "0")
# print wordlist[rc, 1]
' - RS="<entry>" "$dictionary_file"
else
echo "missing/incorrect dictionary file"
fi
 

Perry Jennings

New Member

correction made for about three entries with an "en-dash" where simple hyphen was intended. - revised file on github. See my user name TrentonJ and Cassells Latin Dictionary.
 

Tlepolemus

Civis Illustris

  • Civis Illustris

Top