#!/bin/bash

mkdir -p /corpora/data/corpus
cwb-encode \
  -c utf8 \
  -d /corpora/data/corpus \
  -f /root/files/corpus.vrt \
  -R /usr/local/share/cwb/registry/corpus \
  -P lemma -P simple_pos -P pos -P ner \
  -S corpus -S text:0+author+id+publishing_year+title -S s \
  -xsB
cwb-make \
  -V CORPUS
