[CWB] POS tags have first character cut off

Hardie, Andrew a.hardie at lancaster.ac.uk
Fri Jun 7 10:37:56 CEST 2019


“your config file” == config.inc.php . If you set a configuration variable in there (see tables int eh admin manual), the system will pass it round to all the other places where it’s used (which are the other strings your grep retrieved).

config.inc.php is created by the autoconfig script. It’s not under version control and is unique to your machine.

>> Also, anything in particular I should be looking for?

What the original concordance lines from CQP look like prior to the system reformatting them.

They should be printed out as the CQP child process produces them. They will be on lines beginning

CQP >>

You may find it easier to read them in the “view source” .

SQL query debugs will be printed too. Ignore them in this case.

best

Andrew.

From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of Scott Sadowsky
Sent: 07 June 2019 09:30
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it>
Subject: Re: [CWB] POS tags have first character cut off

Will do. I've found that string in all of the following files:

offline-freqlists.php
autosetup.php
upgrade-database.php
defaults.php
general-lib.php
config.inc.php

Which one is the relevant one in this case?

Also, anything in particular I should be looking for?

Cheers,
Scott

On Fri, Jun 7, 2019 at 4:14 AM Hardie, Andrew <a.hardie at lancaster.ac.uk<mailto:a.hardie at lancaster.ac.uk>> wrote:
I think you should set $print_debug_messages to true in your config file. This should reveal what is happening behind the scenes, and at what stage the initial character goes missing.

best

Andrew.

From: cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it> <cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it>> On Behalf Of Scott Sadowsky
Sent: 07 June 2019 09:08
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it<mailto:cwb at sslmit.unibo.it>>
Subject: Re: [CWB] POS tags have first character cut off

On Fri, Jun 7, 2019 at 3:46 AM Hardie, Andrew <a.hardie at lancaster.ac.uk<mailto:a.hardie at lancaster.ac.uk>> wrote:

Hi Andrew,

Can I pls check that  I am correct about what you’re looking at:
•         Show tags is ON

•         Show alt view is ON (and configured to POS)?

That's exactly right.

Note, however, that the first letter of the tags are also cut off when I choose "Show Tags" with POS tags selected:

gente_CFS000 que_R0CN00 no_N conoce_MIP3S0 pero_C con_P algunas_I0FP00 sí_G porque_S ha_AIP3S0 ido_MP00SM harta_Q0FS00 gente_CFS000 ,_c y_C ha_AIP3S0 pasado_MP00SM hasta_P adentro_G ,_c y_C no_N le_P3CSD0 ha_AIP3S0hecho_MP00SM nada_I0CS00 pero_C hay_MIP3S0 gente_CFS000 que_R0CN00 la_P3FSA0 ve_MIP3S0 y_C le_P3CSD0 ladra_MIP3S0
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it<mailto:CWB at sslmit.unibo.it>
http://liste.sslmit.unibo.it/mailman/listinfo/cwb


--
Dr. Scott Sadowsky
Profesor Asistente de Lingüística
Pontificia Universidad Católica de Chile

ssadowsky gmail com
scsadowsky uc cl
http://sadowsky.cl/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20190607/192d01ca/attachment-0001.html>


More information about the CWB mailing list