RELVM icon indicating copy to clipboard operation
RELVM copied to clipboard

Confusing parts in the entities_x definition

Open bimunlp opened this issue 4 years ago • 0 comments

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]=

bimunlp avatar Mar 04 '21 02:03 bimunlp