Two live notebooks, standalone and fully coded in good amount of details, were designed to explain k-nn machine learning algorithms for text and expose the readers and the programmers to NNGs (Nearest Neighbor Graph) which by means of the distance function called EditDistance [ ] constructs a geometrical structure imbued with paths and neighborhoods and similarity maps. In the second live code notebook, terrific effort was exerted to answer the question “Where do the words reside?” The habitat where the mathematical objects and programs live in, is called the Category. These categories, while most vital for the programmers, are incredibly inaccessible by busy professionals in other fields, even other fields of mathematics other than the category theory. We at CCN and Free Form Creations hope that these treatises will be of service to all learners and professionals in need of more advanced thoughts and hands on skills.