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

Update _base.py #2053

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update _base.py #2053

wants to merge 1 commit into from

Conversation

arthur-75
Copy link

Thank you for this great package! I encountered a small formatting issue when reading a JSON file after saving it using index_reader.dump_documents_BM2. I found a simple solution that worked well for me: adding encoding="utf-8" while saving the file.

Additionally, regarding the issue with Arguana that I raised recently, I discovered the root cause. It is related to the document with docid 'training-society-iasihbmubf-pro06a', which appears to be empty. To address such cases, I would like to suggest a workaround for handling empty documents until the Java code is fixed. This might help others avoid similar issues. Thank you for your consideration!

Thank you for this great package! I encountered a small formatting issue when reading a JSON file after saving it using index_reader.dump_documents_BM2. I found a simple solution that worked well for me: adding encoding="utf-8" while saving the file.

Additionally, regarding the issue with Arguana that I raised recently, I discovered the root cause. It is related to the document with docid 'training-society-iasihbmubf-pro06a', which appears to be empty. To address such cases, I would like to suggest a workaround for handling empty documents until the Java code is fixed. This might help others avoid similar issues. Thank you for your consideration!
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

Successfully merging this pull request may close these issues.

1 participant