cqpserver/docs/note.txt

26 lines
693 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 \
-S text:0+title -S s \
-0 corpus
cwb-make -V UTOPIEN
cwb-describe-corpus UTOPIEN