Tagging word etymology with Python and HTML .
French Old Fr. Greek Latin Sanskrit
Words Words Words is a project using Python to color-code words in text according to their etymological roots, and render the result as HTML.
The output of the scripts is available in the book list on the right. The repository contains the scripts used to mark up the text, look words up in the Online Etymology Dictionary and parse the results to tag words with their root language, and create the final HTML.
The tool is entirely implemented in Python.
All of the books that have been tagged are listed on the right. More books are on the way...
Words Words Words uses a couple of Python libraries to do its primary tasks: parse text, look up words on a web page, extract and process the result, and convert the original text into HTML, color-coding each word in the process with its etymological root language.
list
and string
types.Charles Reid wrote Words Words Words.
Visit charlesreid1.com
or check out @charlesreid1 on Github
The code for Words Words Words is on Github: