VANA/VANA-python/subtitles_processing/README.md

22 lines
563 B
Markdown
Raw Normal View History

2025-01-16 22:18:12 +01:00
# subtitles_processing
Paket zur Aufbereitung der Untertitel.
## subtitles-processing.py
Normalisiert die Untertitel einer Episode. Die timecodes werden umgespeichert, damit immer ganze Sätze pro Zeile vorhanden sind.
```bash
python src/normalize_subtitles/subtitles-processing.py -a <"normalize"> -ep <int>
```
## count_words.py
Zählt die Wortanzahl pro Satz.
```bash
python src/normalize_subtitles/count_words.py -ep <int>
```
## count_words.py
Rechnet die Sentimente pro Satz.
```bash
python src/normalize_subtitles/sentence_sentiment.py -ep <int>
```