Gets random word in specified parameters.