From a4c1870f724f18e98c33468b4d038dd1c742e4bd Mon Sep 17 00:00:00 2001 From: yum Date: Tue, 26 Dec 2023 02:18:58 -0800 Subject: Add optional transcription & curation components Add a transcribe button, which transcribes each .wav file using openai/whisper-large-v2, producing a corresponding .txt file. Also add a TUI tool for WSL. This tool lets you view transcripts and delete them with vi-like commands. Useful for cleaning data. --- curate/Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 curate/Makefile (limited to 'curate/Makefile') diff --git a/curate/Makefile b/curate/Makefile new file mode 100644 index 0000000..d4e63dc --- /dev/null +++ b/curate/Makefile @@ -0,0 +1,25 @@ +CC=g++ +CFLAGS=-c -O2 -std=c++20 +LDFLAGS=-lcurses + +EXE=ui +SRCS=ui.cc +OBJS=$(SRCS:.cc=.o) +HDRS= + +.PHONY: all +all: $(EXE) + +$(EXE): $(OBJS) + $(CC) $^ $(LDFLAGS) -o $@ + +%.o: %.cc %.h + $(CC) $(CFLAGS) $< -o $@ + +%.o: %.cc + $(CC) $(CFLAGS) $< -o $@ + +.PHONY: clean +clean: + @rm -f $(OBJS) $(EXE) + -- cgit v1.2.3