mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/cqpserver.git
synced 2024-12-26 11:24:19 +00:00
26 lines
709 B
Plaintext
26 lines
709 B
Plaintext
# 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
|