Types/Tokens Experiment code