|
|
@ -4,27 +4,25 @@ Create .tsv files that can be viewed and edited with [neat](https://github.com/q
|
|
|
|
|
|
|
|
|
|
|
|
## Installation:
|
|
|
|
## Installation:
|
|
|
|
|
|
|
|
|
|
|
|
Clone this project and the [SBB-utils](https://github.com/qurator-spk/sbb_utils).
|
|
|
|
Required python version is 3.11.
|
|
|
|
|
|
|
|
Consider use of [pyenv](https://github.com/pyenv/pyenv) if that python version is not available on your system.
|
|
|
|
|
|
|
|
|
|
|
|
Setup virtual environment:
|
|
|
|
Activate virtual environment (virtualenv):
|
|
|
|
```
|
|
|
|
```
|
|
|
|
virtualenv --python=python3.6 venv
|
|
|
|
source venv/bin/activate
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
or (pyenv):
|
|
|
|
Activate virtual environment:
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
source venv/bin/activate
|
|
|
|
pyenv activate my-python-3.11-virtualenv
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Upgrade pip:
|
|
|
|
Update pip:
|
|
|
|
```
|
|
|
|
```
|
|
|
|
pip install -U pip
|
|
|
|
pip install -U pip
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
Install sbb_images:
|
|
|
|
Install package together with its dependencies in development mode:
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
pip install -e sbb_utils
|
|
|
|
pip install git+https://github.com/qurator-spk/page2tsv.git
|
|
|
|
pip install -e page2tsv
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## PAGE-XML to TSV Transformation:
|
|
|
|
## PAGE-XML to TSV Transformation:
|
|
|
|