Skip to content

Conversation

Yggdrasill501
Copy link
Contributor

What does this PR do?

Fix Name error

Fixes # (issue)
Fix of this error

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call
last)
Cell In[49], line 4
      1 INPUT_FILE = "./resources/extracted_text.txt"  # Replace with
your file path
      2 CHUNK_SIZE = 1000  # Adjust chunk size if needed
----> 4 chunks = create_word_bounded_chunks(text, CHUNK_SIZE)
      5 num_chunks = len(chunks)

NameError: name 'text' is not defined
---------------------------------------------------------------------------

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

Thanks for contributing 🎉!

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call
last)
Cell In[49], line 4
      1 INPUT_FILE = "./resources/extracted_text.txt"  # Replace with
your file path
      2 CHUNK_SIZE = 1000  # Adjust chunk size if needed
----> 4 chunks = create_word_bounded_chunks(text, CHUNK_SIZE)
      5 num_chunks = len(chunks)

NameError: name 'text' is not defined
@Yggdrasill501
Copy link
Contributor Author

This error is already fixed at #769

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants