cqpserver/docs/note.txt
2019-10-14 14:06:10 +02:00

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