more code for looking at literature over time; hopefully will be useful in looking at ml too