Skip to content
New issue

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

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

Already on GitHub? # to your account

Code bug in Beam.py with line 76-78 #33

Open
afarmer2005 opened this issue Oct 3, 2022 · 1 comment
Open

Code bug in Beam.py with line 76-78 #33

afarmer2005 opened this issue Oct 3, 2022 · 1 comment

Comments

@afarmer2005
Copy link

i = vec[0]
if sentence_lengths[i]==0: # First end symbol has not been found yet
sentence_lengths[i] = vec[1] # Position of first end symbol

the above index i should be replaced by another j index.

@ASIA0703
Copy link

Sorry, I don't see what you mean. Could you be more specific

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

No branches or pull requests

2 participants