Convert exported Label Studio annotation JSON files to different format(s).
Install the package:
pip install git+ssh://git@github.com/ChristophAlt/labelstudio_converter.git
Convert the annotation JSON file with the following command:
python labelstudio_converter \
--input-file <ANNOTATION JSON FILE> \
--output-file <OUTPUT FILE> \
--output-format flair_conllu
# Install dependencies
pipenv install --dev
# Setup pre-commit and pre-push hooks
pipenv run pre-commit install -t pre-commit
pipenv run pre-commit install -t pre-push
This package was created with Cookiecutter and the sourcery-ai/python-best-practices-cookiecutter project template.