Skip to content

A Python program to extract and format character lines from text files based on specific tags, useful for processing transcripts or dialogue lines.

License

Notifications You must be signed in to change notification settings

Amstel-DEV/Transcript-Text-Lines-Formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transcript Text Lines Formatter

The Transcript Text Lines Formatter is a Python script that helps you extract and format character lines from text files, specifically designed for S;G (Steins;Gate) transcripts.

Features

  • Extract all character lines from a folder of text files and save them in a single output file.
  • Extract character lines for a specific character and save them in a separate output file.
  • Supports Windows and Unix/Linux operating systems.

Installation

  1. Clone the repository or download the Portable Executable Program at Releases.
  2. Ensure that you have Python 3.x installed on your system.

Usage

  1. Open a terminal or command prompt.

  2. Navigate to the project directory.

  3. Run the given command to start the script:

    python transcript_formatter.py
  4. Follow the on-screen instructions to select the desired operation and provide the necessary inputs.

  5. The extracted character lines will be saved in the specified output folder.

Releases

Check out the Releases page for the latest version of the Transcript Text Lines Formatter. You can find the portable executable (.exe) version of the program there.

Changelog

Version 1.1.0

  • Improved user interface by clearing the console screen before each operation.
  • Refactored the code to enhance readability and maintainability.
  • Introduced a single operation mode for saving the output in a single TXT file.
  • Fixed minor bugs and improved error handling.
  • Updated the About section in the main menu to provide more information about the program.

Version 1.0.0

  • Implemented the core functionality of the Transcript Text Lines Formatter program.
  • Provided the ability to extract character lines from text files based on specific tags.
  • Supported two variations: one for extracting all character lines and another for extracting character lines for a specific character.
  • Prompted the user to enter the target folder path, saving path location, and optional character name.
  • Processed the text files, extracted the character lines, and saved them to separate files while preserving the original format.
  • Designed specifically for text files containing transcripts or dialogue lines.

License

This project is licensed under the MIT License.

Author

Amstel-Dev

About

A Python program to extract and format character lines from text files based on specific tags, useful for processing transcripts or dialogue lines.

Topics

Resources

License

Stars

Watchers

Forks

Languages