[CWB] Datatype of xml attributes in CQPweb

Hardie, Andrew a.hardie at lancaster.ac.uk
Wed Mar 15 11:20:59 CET 2017


You need to create a user permission for freq lists.

This bit of the admin manual is not written yet but it’s “documented” in the admin UI under “manage privileges”:

[cid:image003.jpg at 01D29D74.A12CA330]

best

Andrew.

From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Meier-Vieracker, Simon
Sent: 15 March 2017 08:41
To: Open source development of the Corpus WorkBench
Subject: Re: [CWB] Datatype of xml attributes in CQPweb

Lieber Noah,

danke, so funktioniert es. Hätte ich auch selbst drauf kommen können…

Wo ich aber gerade dabei bin. Eine Sache funktioniert immer noch nicht, nämlich die Erstellung von Subkorpora. Also ich kann sie zwar erstellen, aber keine Frequenzliste kompilieren. Screenshot anbei Weißt Du spontan, wo man das Token Limit einstellen kann? Im Interface oder muss ich dazu in die config.ini?

Herzlich, Simon

[cid:image004.png at 01D29D74.A12CA330]

Am 14.03.2017 um 21:12 schrieb Noah Bubenhofer <bubenhofer at cl.uzh.ch<mailto:bubenhofer at cl.uzh.ch>>:

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<mailto: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<mailto: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<http://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<mailto: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<mailto:CWB at sslmit.unibo.it>
http://liste.sslmit.unibo.it/mailman/listinfo/cwb
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it<mailto: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<http://www.bubenhofer.com>
www.visual-linguistics.net<http://www.visual-linguistics.net>
bubenhofer at cl.uzh.ch<mailto:bubenhofer at cl.uzh.ch> (PGP-Schlüssel vorhanden)
Tel. +41 44 635 67 18
Büro 2.18

_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it<mailto:CWB at sslmit.unibo.it>
http://liste.sslmit.unibo.it/mailman/listinfo/cwb

-------

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<mailto:simon.meier at tu-berlin.de>
http://www.linguistik.tu-berlin.de/menue/mitarbeiterinnen/wiss_mitarbeiterinnen/simon_meier/



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20170315/54bd99f1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 82813 bytes
Desc: image003.jpg
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20170315/54bd99f1/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 34531 bytes
Desc: image004.png
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20170315/54bd99f1/attachment-0001.png>


More information about the CWB mailing list