[CWB] PHP parse errors in cqpweb from subversion

Richard Eckart de Castilho eckartde at tk.informatik.tu-darmstadt.de
Tue Aug 16 11:33:13 CEST 2011


> I read somewhere that CQPWeb requires that text are marked with <text id="..."> tags. Does the ID have to be numeric? Does it have to be a sequence? Is it ok to use arbitrary additional XML tags?

I found again where I read this (in the CQP Manual) and the section answers my question. So at the moment I am getting 

   CQPweb encountered an error and could not continue.
   Pre-indexed corpora require s-attributes text and text_id!!
   ... in file /opt/CQPweb-2.x/lib/admin-install.inc.php line 152.

and I will have to see how I can recode my corpora. I have the structural attributes "s" and "text" but I do not have the "id" attribtue on "text" yet.

Cheers,

Richard

-- 
------------------------------------------------------------------- 
Richard Eckart de Castilho
Technical Lead
Ubiquitous Knowledge Processing Lab 
FB 20 Computer Science Department      
Technische Universität Darmstadt 
Hochschulstr. 10, D-64289 Darmstadt, Germany 
phone [+49] (0)6151 16-7477, fax -5455, room S2/02/B117
eckartde at tk.informatik.tu-darmstadt.de 
www.ukp.tu-darmstadt.de 
Web Research at TU Darmstadt (WeRC) www.werc.tu-darmstadt.de
------------------------------------------------------------------- 






More information about the CWB mailing list