[CWB] %d does not work??
Hardie, Andrew
a.hardie at lancaster.ac.uk
Sat May 25 12:11:23 CEST 2013
>> We are working on a linux (ubuntu 12) system with CWB 3.0, the shell and the corpus are both utf-8.
Version 3.0 does not have UTF-8 support. Please upgrade to the latest version in the 3.4 series and see if the problem persists.
best
Andrew.
-----Original Message-----
From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of "Gertrud Faaß"
Sent: 25 May 2013 07:58
To: cwb at sslmit.unibo.it
Subject: [CWB] %d does not work??
Dear all,
I am bit confused as students showed me a case this week where %d flag does not seem to work anymore, I could not find the error here.
The problem was raised because Umlaut did not work when used in parameters entered to execute a macro, e.g.
HGC> /testmac3[führen];
CQP Error:
Macro syntax error.
CQP Error:
CQP Syntax Error: syntax error, unexpected UNDEFINED_MACRO /testmac3[fü <-- Synchronizing to end of line ...
Any word without Umlaut works with this macro.
I then tried online queries:
[lemma="führen"] = >worked (77,408 results) [lemma="fuhren" %d]; => worked, but 0 results.
[lemma="f\"uhren]; => worked, but 0 results "fuhren" %d; by the way only shows "fuhren", though "führen" exists (see above)
We are working on a linux (ubuntu 12) system with CWB 3.0, the shell and the corpus are both utf-8. We are using the syntax described in the CWB online tutorial.
There seem to be two problems (in case we got the syntax right): first, umlaut cannot be entered with macros, and second, the method using %d or the latex code do not work (dto), anymore(?) .
We'd be very thankful for any hints,
best
Gertrud
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://devel.sslmit.unibo.it/mailman/listinfo/cwb
More information about the CWB
mailing list