For further information on how to use N-Grams for procedural content generation, and the use case applied in this recipe, please visit the following resources:
- Implementing N-Grams for Player Prediction, Procedural Generation, and Stylized AI, Joseph Vasquez II. (http://www.gameaipro.com/GameAIPro/GameAIPro_Chapter48_Implementing_N-Grams_for_Player_Prediction_Proceedural_Generation_and_Stylized_AI.pdf).
- Linear Levels Through N-Grams, Dahlskog, Togelius, Nelson. (http://julian.togelius.com/Dahlskog2014Linear.pdf).