[CWB] CQPweb: no response by setting free translation

Hardie, Andrew a.hardie at lancaster.ac.uk
Sat Oct 27 16:40:30 CEST 2012


Showing the translation has been doable for a couple of years (you may be thinking of XML visualisations, which are unfinished).

You need to specify s:0+trans in the custom setup box, not s and s_trans as separate attributes.

(Doing so causes an error message to pop up. Ignore it.)

best

Andrew.

From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Ray Wu
Sent: 27 October 2012 15:15
To: Open source development of the Corpus WorkBench
Subject: Re: [CWB] CQPweb: no response by setting free translation

So it means it is doable now? Great.

Here is my test file test.txt (in utf-8 format):
<text id="test">
<s trans="这是一个测试">
This
is
a test
.
</s>
<s trans="和另一个测试">
And
another
test
.
</s>
</text>

I then went to configure the corpus on CQPweb by specifying S-attributes (XML elements) -> Use custom setup (specify attributes in the boxes opposite) as:
s
s_trans
And gave nothing in the step of P-attributes (word tags) -> Use custom setup (specify attributes in the boxes opposite) .

Finally, the corpus installation was finished with "create mimimalist metadata table".

I then went to Manage visualisations-> (2) Free translation  but I could not found s_trans but only text_id.

The corpus format is guessed from your post on sourceforge (http://sourceforge.net/tracker/?func=detail&aid=2806326&group_id=131809&atid=722306) but I'm not quite sure whether it is the right thing.
Best,
Ray

At 2012-10-27 18:58:44,"Hardie, Andrew" <a.hardie at lancaster.ac.uk<mailto:a.hardie at lancaster.ac.uk>> wrote:

It may depend on what other settings you have. Can you describe your setup in more detail?

best

Andrew.

From: cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it> [mailto:cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it>] On Behalf Of Ray Wu
Sent: 27 October 2012 09:14
To: CWBdev Mailing List
Subject: [CWB] CQPweb: no response by setting free translation

Hi there,

Has anyone tried the free translation functionality (under the banner of  Manage visualisations) of CQPweb (v3.0.7) with success? I tried many times but no luck.
Thanks for any tips.

Best,
Ray


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121027/504cede8/attachment-0001.html>


More information about the CWB mailing list