CatgirlIntelligenceAgency/code/process-models/processed-data
Viktor Lofgren fab36d6e63 (converter) Loader for reddit data
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.
2024-02-14 17:35:44 +01:00
..
src (converter) Loader for reddit data 2024-02-14 17:35:44 +01:00
build.gradle (build) Move unit test configuration to root build.gradle 2023-10-04 12:46:22 +02:00
readme.md (docs) Update the documentation up-to-date information 2023-09-14 11:33:36 +02:00

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.

See Also

third-party/parquet-floor