fab36d6e63
Adds experimental sideloading support for pusshift.io style reddit data. This dataset is limited to data older than 2023, due to licensing changes making large-scale data extraction difficult. Since the median post quality on reddit is not very good, he sideloader will only load a subset of self-texts and top-level comments that have sufficiently many upvotes. Empirically this appears to mostly return good matches, even if it probably could index more. Tests were written for this, but all require local reddit data which can't be distributed with the source code. If these can not be found, the tests will shortcircuit as OK. They're mostly there for debugging, and it's fine if they don't always run. The change also refactors the sideloading a bit since it was a bit messy. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
readme.md |
The processed-data package contains models and logic for reading and writing parquet files with the output from the converting-process.
Main models:
Since parquet is a column based format, some of the readable models are projections that only read parts of the input file.