Extract shoebox and toolbox data to CSV files.
Project description
box2csv
Extract data from shoebox and toolbox projects to CSV files.
Installation
pip install box2csv
Usage
At the moment, there is only one command: box2csv corpus
, for collections of glossed texts.
To create a file mytextdatabase.csv
from a toolbox file mytextdatabase.txt
:
box2csv corpus mytoolbox/mytextdatabase.txt
Project-specific configuration can be passed via --conf your/config.yaml
; to see what options are available, check the default configuration file as well as the default configuration files for toolbox and shoebox.
To create a CLDF version of the corpus, add the option --cldf
.
For more help on how to run the command, use box2csv corpus --help
.
Problems
- if running
box2csv
produces warnings, check your database for possible inconsistencies - if that did not solve your problem, open an issue
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.