Skip to content
Snippets Groups Projects
README.md 802 B
Newer Older
Markus Opolka's avatar
Markus Opolka committed
# CQP Converter

## Setup
Markus Opolka's avatar
Markus Opolka committed

```bash
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt
```

Hint: Fixed spaCY installation problems with: pip3 install --upgrade wheel

## Example Usage

```bash
cqp-converter.py --input examples/paap-small-pdf.txt --output foobar.cqp
```
Markus Opolka's avatar
Markus Opolka committed

# Input Format

The input format should look like this:

```bash
<h1>The Abstract</h1>
<abstract>
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Pellentesque sed diam laoreet, fringilla ante sagittis, lobortis augue. Vestibulum quis risus vitae nunc sagittis dictum.
</abstract>

<h1>This is a headline</h1>
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Pellentesque sed diam laoreet, fringilla ante sagittis, lobortis augue. Vestibulum quis risus vitae nunc sagittis dictum.
```