[CWB] Problem with cwb-make
oyvind.eide at iln.uio.no
oyvind.eide at iln.uio.no
Thu May 10 10:14:57 CEST 2012
Dear list,
I have now encountered another problem, which may look more like a bug.
If you look at the transcript below, encoding the corpus works fine.
Then cwb-make fails, it seems to be on line 423 of Encoder.pm. The
corpus still works, but there seems to be at least one file missing.
Any tips? In need of more information? The server is running linux RHEL 5.8.
$ ls -a
. ..
$ cwb-encode -c utf8 -d
/hf/sokrates/edd-u1/oeide/utv/cqp/corpus/data/menota -f
/hf/sokrates/edd-u1/oeide/utv/cqp/corpus/cqpImportFiles/DG8-II-1-1import.vrt
-R /hf/sokrates/edd-u1/oeide/utv/cqp/corpus/registry/menota -P file -P
id -P lemma -P rest
$ ls -a
. id.corpus lemma.lexicon.idx word.lexicon
.. id.lexicon rest.corpus word.lexicon.idx
file.corpus id.lexicon.idx rest.lexicon
file.lexicon lemma.corpus rest.lexicon.idx
file.lexicon.idx lemma.lexicon word.corpus
$ cwb-make menota
WARNING (SHELL CMD
'/hf/sokrates/edd-u1/oeide/utv/cqp/usr/local/bin/cwb-huffcode -T -P
file menota'):
-> Warning on stderr:
-> Problem: No output generated -- no items?
CWB::Indexer: Creation of component file/CIS
(/hf/sokrates/edd-u1/oeide/utv/cqp/corpus/data/menota/file.huf) failed
(aborted).
at /hf/sokrates/edd-u1/oeide/utv/cqp/usr/local/bin/cwb-make line 76
$ ls -a
. id.lexicon rest.hcd word.crx
.. id.lexicon.idx rest.huf word.hcd
file.corpus lemma.corpus rest.huf.syn word.huf
file.corpus.cnt lemma.lexicon rest.lexicon word.huf.syn
file.lexicon lemma.lexicon.idx rest.lexicon.idx word.lexicon
file.lexicon.idx rest.corpus.cnt rest.lexicon.srt word.lexicon.idx
file.lexicon.srt rest.crc word.corpus.cnt word.lexicon.srt
id.corpus rest.crx word.crc
$ cqp -e
[no corpus]> MENOTA;
MENOTA> "grænska";
12: oðar faður harallz hins <grænska> faður Olafs hins hælga
MENOTA> exit;
Done. Share and enjoy!
$
--
Kind regards,
Øyvind Eide
Unit for Digital Documentation
University of Oslo
More information about the CWB
mailing list