[CWB] cwb-describe-corpus not finding corpora

Alberto Simões ambs at di.uminho.pt
Tue Feb 9 19:20:36 CET 2010


Hey,

Found that the problem is with corpora names in uppercase.
Probably this should be documented and a warning be raised, or then,
make the code support file names with uppercase characters.

Should I prepare a patch in what way? O:)

Cheers
alberto

On 09/02/2010 15:16, Alberto Simões wrote:
> Hello
> 
> After a cwb-encode command I can't run cwb-make.
> As far as I can tell, cwb-describe-corpus is failing:
> 
>  [ambs at linguateca ~]$ ls /usr/local/share/cwb/registry/
>  EP_PT_EN_source  EP_PT_EN_target
> 
>  [ambs at linguateca ~]$ cwb-describe-corpus -d EP_PT_EN_source
>  setup_corpus: can't locate <EP_PT_EN_source> in
> /usr/local/share/cwb/registry
>  ERROR. Can't access corpus EP_PT_EN_source !
>  [ambs at linguateca ~]$
> 
>  [ambs at linguateca ~]$ cat /usr/local/share/cwb/registry/EP_PT_EN_source
> |grep HOME
>  HOME /corpora/CWB//EP_PT_EN_source
> 
>  [ambs at linguateca ~]$ ls /corpora/CWB/EP_PT_EN_source/
>  natid.corpus   natid.lexicon.idx  tu.avx  word.corpus	word.lexicon.idx
>  natid.lexicon  tu.avs		  tu.rng  word.lexicon
> 
> 
> Thanks for any hint.
> Alberto

-- 
Alberto Simões


More information about the CWB mailing list