In the make_memmap code description, there is the following statement:
'''entities_x : np.memmap The first entity in a sentence. The first column contains the index to the UUIDS; the second contains the index to the entity type.'''
which my understanding is that entities_x.mmap is a 2d array with two columns. While in the readme you describe it as a one-dimensional array. Also, the code is a little bit confusing when you define the shape of mm as num_data, 1, but also use mm[:, 0]=