[求助]the application of BNC

desperate

普通会员
How could I copy the whole solutions of a BNC query in the mode of KWIC into notepad or Word file. I clicked the Copy button and pasted it in a Word file, but only one solution in long context was successfully pasted in my word file. I clicked the Listing button, all solutions were pasted but not in the mode of KWIC. What can I do?
 
There was some discussion of this problem in the Xaira-Preview Mail List -

From: Hardie, Andrew [mailto:a.hardie@lancaster.ac.uk]
Sent: Sun 04/09/2005 16:08
To: xara-preview@maillist.ox.ac.uk
Subject: RE: [xara-preview] Display effect of LCMC


Oh yes, the search-and-replace won't centre the word, but it will make it red!

________________________________

From: Xiao, Zhonghua [mailto:z.xiao@lancaster.ac.uk]
Sent: Sun 04/09/2005 16:02
To: xara-preview@maillist.ox.ac.uk
Subject: RE: [xara-preview] Display effect of LCMC



As Word wraps long lines automatically, there is no way to ensure that kw is centred, unless their beginning and ending are cut.

________________________________

From: Hardie, Andrew [mailto:a.hardie@lancaster.ac.uk]
Sent: Sun 04/09/2005 15:50
To: xara-preview@maillist.ox.ac.uk
Subject: RE: [xara-preview] Display effect of LCMC



Or use a Word global search-and-replace, of the form FIND (<kw>)(*)(</kw) REPLACE WITH \2 and format the replace box as red text (sorry, I can't recall the exact regular expression off the top of my head but it's something like that - the Word help is pretty good on find/replace special characters)!

Andrew.

________________________________

From: Lou Burnard [mailto:lou.burnard@computing-services.oxford.ac.uk]
Sent: Sun 04/09/2005 09:35
To: xara-preview@maillist.ox.ac.uk
Subject: Re: [xara-preview] Display effect of LCMC



There is some discussion of this in the tutorial for Sara at
http://www.natcorp. ox.ac.uk/SARA/Hitlist/ but unfortunately the details
of the "recipes" given there need updating for Xaira. Maybe someone on
the list would like to take a crack at it?

The basic point is that Xaira uses XML for everything. The KWIC display
with the red word in the middle which you see in the client is actually
an XML format, as is the format we export the hitlist in. So you have
to get Word to process the XML properly. This isn't very difficult but
it requires some external file, such a stylesheet.

Alternatively, if you just want to keep exactly what you see on the
screen in your Word document, why not use a screen capture program?



21cn wrote:

>Thanks for timely help. clientIn the of Xaira, I clicked the "List" button and saved the query result as an XML file, but shall I choose each tag with my mouse and delete it manually? Can I keep the original format of query result in which the key word is in red and placed in the centre of each line?
>
>----- Original Message -----
>From: "Xiao, Zhonghua" <z.xiao@lancaster.ac.uk>
>To: <xara-preview@maillist.ox.ac.uk>
>Sent: Friday, September 02, 2005 8:53 AM
>Subject: RE: [xara-preview] How 2 paste LCMC result
>Save your query result as a list (in the Client, select Query - Listing) in XML instead of an sqy file and open this XML file in Word. If you do not wish to see a tags, you can right click on the tag to remove it.
>________________________________
>From: 21cn [mailto:yuweichang@21cn.com]
>Sent: Wed 31/08/2005 15:04
>To: xara-preview@maillist.ox.ac.uk
>Subject: [xara-preview] How 2 paste LCMC result
>Dear experts:
>I am using Xaira 1.0 to concordance LCMC and I can obtain beautiful KWIC result. I can also save it as a 1 KB Query1.sqy file which I can open with Xaira next time, but how can I save the result and paste it onto my Microsoft Word file? Thanks in advance.
 
The solutions appear to be -

1) Use screen shots;

2) Open the XML listing in Word and tabulate the concordance lines (using <kw> and </kw> ad delimiters). Then the part between <kw> and </kw> are centred while the parts on the left and right sides wrap lines.
 
Back
顶部