[CWB] Datatype of xml attributes in CQPweb

Noah Bubenhofer bubenhofer at cl.uzh.ch
Tue Mar 14 21:12:51 CET 2017


Hi Simon,

you first have to switch to the "manage corpus xml" menu. There you can change the datatypes to "classification". Afterwards you are able to build the metadata tables using these fields as classifications.

Sorry for not having explained that in detail in my tutorial... ;-)

Best,
Noah


> Am 14.03.2017 um 17:58 schrieb Meier-Vieracker, Simon <simon.meier at tu-berlin.de>:
> 
> Hi,
> 
> my question of this morning has been resolved (it was a permission problem indeed).
> 
> CQPweb works fine now, but I still have a problem with my xml attributes that I want to use as classificatory metadata. 
> 
> This is what my text template looks like:
> 
> <text id="1" quelle="weltfussball" liga="bundesliga" saison="2006_2007" match="bayern-muenchen-borussia-dortmund" url="http://www.weltfussball.de/spielbericht/bundesliga-2006-2007-bayern-muenchen-borussia-dortmund/liveticker/">
> <p>
>> </text>
> 
> At least the attributes „quelle“ „liga“ and „saison“ I should be able to use as text classifications, for all the values have less than 20 characters, [a-z][A-Z][0-9] and underscore. However, when I try to install metadata from within-corpus XML annotation, the datatype of all field handles is already fixed as free text and cannot be changed.
> 
> Thanks in advance
> Simon
> 
> 
> 
>> Am 14.03.2017 um 10:36 schrieb Meier-Vieracker, Simon <simon.meier at tu-berlin.de>:
>> 
>> Hi everyone,
>> 
>> I’m new to CQPweb, which I have installed on a Debian server, and I have the following problem with the installation of a new corpus (called ‚herrndorf‘):
>> 
>> I chose "Click here to install a corpus you have already indexed in CWB“ (and the CWB runs perfectly with the corpus), and CQPweb tells me that the corpus was successfully installed. But when trying to design and insert the metadata-table I get the following error:
>> 
>> #####
>> 
>> Not Found
>> 
>> The requested URL /herrndorf/index.php was not found on this server.
>> 
>> Apache/2.4.10 (Debian) Server at fussballlinguistik.linguistik.tu-berlin.de Port 443
>> 
>> #####
>> 
>> Do you have any idea what could have gone wrong? Is there a problem with the permissions? In this tutorial http://chozelinek.github.io/sacoco/cqpwebsetup.html I found that I "have to check the ownership of the folder/file:
>> • the owner should be wwwrun
>> • the group should be www“
>> 
>> Thanks in advance
>> 
>> Simon
>> 
>> 
>> -------
>> 
>> Dr. Simon Meier
>> 
>> Technische Universität Berlin
>> Institut für Sprache und Kommunikation
>> Fachgebiet Allgemeine Linguistik
>> Sekretariat H42
>> Straße des 17. Juni 135, 10623 Berlin
>> +49 (0) 30 314 22323
>> simon.meier at tu-berlin.de
>> http://www.linguistik.tu-berlin.de/menue/mitarbeiterinnen/wiss_mitarbeiterinnen/simon_meier/
>> 
>> 
>> 
>> 
>> _______________________________________________
>> CWB mailing list
>> CWB at sslmit.unibo.it
>> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://liste.sslmit.unibo.it/mailman/listinfo/cwb

Universität Zürich
Institut für Computerlinguistik
Projekt "Visual Linguistics"

Andreasstrasse 15
CH-8050 Zürich

www.bubenhofer.com
www.visual-linguistics.net
bubenhofer at cl.uzh.ch (PGP-Schlüssel vorhanden)
Tel. +41 44 635 67 18
Büro 2.18



More information about the CWB mailing list