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 \
|
2019-10-14 08:31:23 +00:00
|
|
|
-P lemma -P pos -P sem/ \
|
2019-10-14 12:06:10 +00:00
|
|
|
-S entry:0+author+title -S s \
|
2019-10-10 10:13:08 +00:00
|
|
|
-0 corpus
|
|
|
|
cwb-make -V UTOPIEN
|
|
|
|
cwb-describe-corpus UTOPIEN
|