Add helper stuff for figures, cleanup

This commit is contained in:
2026-02-20 01:56:28 +01:00
parent 28823dc0b5
commit 101bd81ca1
20 changed files with 1862 additions and 1164 deletions

View File

@@ -9,8 +9,6 @@ import pandas as pd
from sentence_transformers import SentenceTransformer
from tqdm import tqdm
## Usage: python prepare_corpus.py --input_tab your_reviews.tab --out_dir out
def simple_clean(text: str) -> str:
if not isinstance(text, str):