cqpserver/docs/note.txt

26 lines
709 B
Plaintext
Raw Normal View History

# 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 \
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 \
-0 corpus
cwb-make -V UTOPIEN
cwb-describe-corpus UTOPIEN