Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusing parts in the entities_x definition #3

Open
bimunlp opened this issue Mar 4, 2021 · 0 comments
Open

Confusing parts in the entities_x definition #3

bimunlp opened this issue Mar 4, 2021 · 0 comments

Comments

@bimunlp
Copy link

bimunlp commented Mar 4, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant