Expected duration: less than 1 week Require the following in the Python Programming language. It just needs to do the basics from which I can do further development from myself - I am a beginner!! So please comment well.
Part One Import a CSV file with a list of unique words (list could be as big as 150,000 words), and example of a list of unique words might be a dictionary. Assign a unique Hexadecimal Colour Code (RGB 24bit) to each unique individual word in the list. If you feel it more appropriate, this could be a MySQL Database to which Part two below collates as described below.
Part Two Applying the pre-assigned list of unique words and associated unique Hexadecimal Colour Code, import a .txt file containing for example, a novel, and convert the novel into a colour block where each pixel in the colour block represents the words from the original imported text file in order as they appear in the original novel. Therefore, each word in the novel has to be identified and a colour pixel printed for each word that appears in order that each word appears. Ideally the colour block will be a square block, and if there are not enough words to create a true square, assign a specific hexadecimal colour value to represent word represented.