March 18, 2004

Latin Word Lookup

I've added a Latin word lookup tool over in the sidebar. It uses the Whitaker word list as a dictionary. Currently, you have to enter one of the principle parts of the word, or it won't find it. E.g. if you want to look up puella, you have to enter either either Nominative Singular "puella" or Genitive Singular "puellae". I plan to enhance it so that if it can't find a match it tries to guess the correct stem and search again. Also, currently it formats nouns nicely, but just returns the entire dictionary line for other parts of speech, since I haven't coded classes to parse anything but nouns yet. Another planned enhancement is to add a button to the interface to decline the noun (and when verbs are added, conjugate them); the underlying program already knows how to decline any noun that it can find in the dictionary, but I need to tweak the HTML to expose that. Actually now that I think of it, for now I'll just make it always show the declension. Then I can just make it toggle-able.

Update: that works. For some reason "dies" throws an error, which I'll have to investigate later, but right now I have to go to bed.

Posted by joshua at March 18, 2004 12:09 AM
Comments
Due to the proliferation of comment spam, I've had to close comments on this entry. If you would like to leave comment, please use one of my recent entries. Spam delenda est!