I'm new to Processing and programming as a whole, so please bear with me.
I am trying to vizualize a book (Beyond good and evil) by comparing it with two text files -- one a database of positive words, the other a database of negative words. This is what i have so far:
String[] beyond;
String[] posText;
String[] negText;
String delimiters = " ,.?!;:\n";
int x = 0;
int y = 0;
Map<String, Integer> words = new HashMap<String, Integer>();
I'm pretty sure something is wrong with the HashMap -- I've never used nor fully unterstood the bastard --, specifically lines 30 and 31. Instead of getting a nice pattern of red pixels (negative words in the book) and white pixels (positive words), I just get empty pixels.
If ye nice people can help me, I'd be really grateful.