We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Would be nice to add support for reading jsonl.gz files when encoding a corpus with a dense encoder with python -m pyserini.encode, in:
python -m pyserini.encode
pyserini/pyserini/encode/_base.py
Line 133 in b7e1da3
Maybe with:
#... open_handle = gzip.open if filename.endswith(".gz") else open with open_handle(filename) as f: #...
In this way both pyserini.index.lucene and pyserini.encode accept jsonl.gz files as input.
pyserini.index.lucene
pyserini.encode
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Would be nice to add support for reading jsonl.gz files when encoding a corpus with a dense encoder with
python -m pyserini.encode
, in:pyserini/pyserini/encode/_base.py
Line 133 in b7e1da3
Maybe with:
In this way both
pyserini.index.lucene
andpyserini.encode
accept jsonl.gz files as input.The text was updated successfully, but these errors were encountered: