# Enter bash in cqpwebserver
docker exec -it cqpserver_cqpserver_1 /bin/bash

## Encode example corpus
mkdir /corpora/data/example

cwb-encode -d /corpora/data/example \
           -f /root/files/example.vrt \
           -R /usr/local/share/cwb/registry/example \
           -P pos -P lemma \
           -S s
cwb-make -V EXAMPLE
cwb-describe-corpus EXAMPLE

## Encode utopien corpus
mkdir /corpora/data/utopien
cwb-encode -d /corpora/data/utopien \
           -f /root/files/utopien.vrt \
           -sxB \
           -R /usr/local/share/cwb/registry/utopien \
           -P lemma -P pos -P sem/ \
           -S entry:0+author+title -S s \
           -0 corpus
cwb-make -V UTOPIEN
cwb-describe-corpus UTOPIEN
