Frequently Asked Questions
This section answers common questions about tfmate and provides solutions to frequently encountered issues.
General Questions
What is wyrdcraeft?
wyrdcraeft is a Python command-line tool designed to convert Old English (Anglo-Saxon) texts into a standard JSON format. It provides capabilities for:
Ingesting Old English texts from local text files and TEI XML files.
Converting the text into a standard JSON format using deterministic heuristics or TEI XML parsing.
Properly handling both prose and verse.
Installation Issues
How do I install wyrdcraeft?
See the Installation guide for detailed installation instructions. The recommended methods are:
Using
uv tool:uv tool install wyrdcraeftUsing
pipx:pipx install wyrdcraeftUsing
pip:pip install wyrdcraeftFrom source: Clone the repository and run
uv sync
I get a “command not found” error after installation
This usually means the installation directory is not in your PATH. Try:
Restart your terminal session
Check if the installation directory is in your PATH
For
pipxinstallations, ensurepipxis in your PATHFor
uv toolinstallations, ensureuvis properly configured
Usage Questions
How do I convert a document to JSON?
# Convert a text file to JSON
wyrdcraeft source convert --title="My Title" input.txt output.json
# Convert a TEI XML file to JSON
wyrdcraeft source convert --title="My Title" input.xml output.json
How do I suppress output except errors?
Use the --quiet option:
# Suppress all output except errors
wyrdcraeft --quiet group1 feature1
This is useful in scripts where you only want to see error messages.
Configuration Issues
How do I use a custom configuration file?
Use the --config-file option:
# Use custom configuration file
wyrdcraeft --config-file /path/to/config.toml source convert --title="My Title" input.txt output.json
The configuration file should be in TOML format. See the Configuration: Command Line Tool guide for details.
What configuration options are available?
wyrdcraeft supports configuration for log level, output format, quiet mode,
and the application data directory. See the Configuration: Command Line Tool guide.
Performance and Limitations
What are the performance characteristics?
Deterministic conversion: Fast. May still mis-parse complex documents.
Where can I get more help?
Documentation: Check the other sections of this documentation
Command help: Use
wyrdcraeft --helporwyrdcraeft <command> --helpVerbose mode: Use
--verbosefor detailed error informationGitHub issues: Report bugs or request features on the project repository
How do I report a bug?
When reporting a bug, please include:
Command used: The exact command that failed
Error message: The complete error output
Environment: OS, Python version, tfmate version
Verbose output: Use
--verboseand include the output
Example bug report:
Command: wyrdcraeft group1 feature1 --arg "foo" --arg "bar"
Error: Feature 1 error
OS: macOS 14.0
Python: 3.11.9
wyrdcraeft: 0.1.0
Verbose output:
[Include verbose output here]