Add documentation and example vrt files.

This commit is contained in:
Patrick Jentsch 2019-10-10 12:13:08 +02:00
parent b2d24888c5
commit 28cc17a479
4 changed files with 2048181 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,5 +3,4 @@ cqpserver.init
# Directories
data
files
registry

22
docs/note.txt Normal file
View File

@ -0,0 +1,22 @@
# Enter bash in cqpwebserver
docker exec -it cqperver_cqpserver_1 /bin/bash
## Encode example corpus
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
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

7
files/example.vrt Normal file
View File

@ -0,0 +1,7 @@
<s>
It PP it
was VBD be
an DT an
elephant NN elephant
. SENT .
</s>

2048152
files/utopien.vrt Normal file

File diff suppressed because it is too large Load Diff