A powerful and efficient tool for converting INFO format files to clean text format while preserving content integrity.
A powerful and efficient tool for converting INFO format files to clean text format while preserving content integrity.
# Clone the repository
git clone https://github.com/yourusername/c3po.git
cd c3po
# Create and activate virtual environment with uv
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
uv pip install -r requirements.txt
# Clone the repository
git clone https://github.com/yourusername/c3po.git
cd c3po
# Create and activate virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
python c3po.py input_file.info output_file.txt [options]
--no-verify: Skip content validation--workers=N: Set the number of worker threads (default: CPU count)--debug: Enable debug mode--log=LEVEL: Set log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)--enable-semantic-markers: Enable semantic structure identification and markingBasic conversion:
python c3po.py document.info document.txt
Convert with 4 worker threads and skip validation:
python c3po.py large_document.info large_document.txt --workers=4 --no-verify
Convert with semantic markup:
python c3po.py document.info document.txt --enable-semantic-markers
Convert with debug mode and detailed logging:
python c3po.py document.info document.txt --debug --log=DEBUG
The tool validates converted content using several metrics:
When enabled, the semantic processor identifies and marks various structures in the text:
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.