CLI Reference¶
Table of Contents:
audio-transcribe - Command-line tool for audio transcription tasks.
json-to-srt - Convert JSONL transcription output (from audio-transcribe) into SRT subtitle files.
nfmt - nfmt, a newline formatting utility, standardizes line endings and spacing in text files.
Command Line Tools Overview - TNH Scholar provides a suite of command-line tools designed to work together for text processing. Each tool focuses on specific tasks while maintaining consistent interfaces and behavior. This overview introduces the available tools and their primary functions.
sent-split - Split text into sentences using NLTK, with newline or space separators.
srt-translate - Translate SRT subtitle files while preserving timecodes, using TNH Scholar translation patterns.
tnh-gen - Complete reference for the tnh-gen CLI - TNH Scholar's unified command-line interface for GenAI-powered text processing
tnh-setup - The tnh-setup command configures the TNH Scholar environment, setting up necessary directories and downloading default prompts.
token-count - The token-count command calculates the OpenAI API token count for text input. This is useful for ensuring that a text is within maximum token limits for the API model and also for estimating API costs.
ytt-fetch - (Y)ou(T)ube (T)ranscript-(Fetch)ing utility.
This file auto-generated.