chore: remove intensity column

This commit is contained in:
2026-02-05 17:02:29 +00:00
parent bc8a711209
commit 8e257a92d9

View File

@@ -66,9 +66,6 @@ class StatGen:
for row in results for row in results
] ]
# strongest emotion per row (much more meaningful than sums)
df["emotion_intensity"] = df.filter(like="emotion_").max(axis=1)
def _tokenize(self, text: str): def _tokenize(self, text: str):
tokens = re.findall(r"\b[a-z]{3,}\b", text) tokens = re.findall(r"\b[a-z]{3,}\b", text)
return [t for t in tokens if t not in EXCLUDE_WORDS] return [t for t in tokens if t not in EXCLUDE_WORDS]