2019-10-10 10:13:08 +00:00
|
|
|
# Enter bash in cqpwebserver
|
2019-10-14 12:00:41 +00:00
|
|
|
docker exec -it cqpserver_cqpserver_1 /bin/bash
|
2019-10-10 10:13:08 +00:00
|
|
|
|
|
|
|
## Encode example corpus
|
2019-10-14 12:00:41 +00:00
|
|
|
mkdir /corpora/data/example
|
|
|
|
|
2019-10-10 10:13:08 +00:00
|
|
|
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
|
2019-10-14 12:00:41 +00:00
|
|
|
mkdir /corpora/data/utopien
|
2019-10-10 10:13:08 +00:00
|
|
|
cwb-encode -d /corpora/data/utopien \
|
|
|
|
-f /root/files/utopien.vrt \
|
|
|
|
-sxB \
|
|
|
|
-R /usr/local/share/cwb/registry/utopien \
|
|
|
|
-P lemma -P pos \
|
|
|
|
-S text:0+title -S s \
|
|
|
|
-0 corpus
|
|
|
|
cwb-make -V UTOPIEN
|
|
|
|
cwb-describe-corpus UTOPIEN
|