[CWB] %d does not work??
"Gertrud Faaß"
faassg at uni-hildesheim.de
Sat May 25 08:57:43 CEST 2013
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
More information about the CWB
mailing list