用Word 制作机助附码工具:不会编程也能做

回复:用Word 制作机助附码工具:不会编程也能做

以下是引用 lizzawood2005-8-3 7:34:18 的发言:

Please upload a post of Note Tab

Hopefully it will come soon. In the meantime, try some of the Clips/Libraries that
come with NoteTab Light first, and it will be much easier to discuss how to make use
of this function for linguistic use later. If you are venturous, you can even begin
to look at the syntax of the libraries - hopefully you'll find that it is really not
very complicated - and you may begin to construct your own libraries.

Download NoteTab Light (which is free) from

http://www.notetab.com
 
TONS OF SOLUTIONS OUT THERE
IF ONLY A LITTLE BIT OF PROGRAMMING
...

Sub InsertTag1()
ThisDocument.Application.Selection.InsertBefore ("<TAG1>")
ThisDocument.Application.Selection.InsertAfter ("</TAG1>")
End Sub
Sub InsertTag2()
ThisDocument.Application.Selection.InsertBefore ("<TAG2>")
ThisDocument.Application.Selection.InsertAfter ("</TAG2>")
End Sub
Sub InsertTag3()
ThisDocument.Application.Selection.InsertAfter ("/TAG3")
End Sub

...
 
I BUILT AN EXAMPLE TEMPLATE, BUT I AM NOT 100% SURE IT IS THE THING OF INTEREST IN THE DISCUSSION.
2005080322451053.jpg

http://www.corpus4u.org/upload/forum/2005080322344238.rar
2005080322583492.jpg

AN ILLUSTRATION:
2005080322594669.jpg

2005080323012157.jpg
 
对初学者和电脑技术稍逊的人来说,wzli的方法相对来说还是容易操作一些。况且宏带来的危险也会大一些。

不过您的macro用得的确很好。在此谢谢了。
 
If you write a Word Macro yourself or get it from a reliable source, there is no risk of macro virus. I have used a macro convert ordinary characters into acccented characters (used for Pinyin glosses with tones).
 
回复:用Word 制作机助附码工具:不会编程也能做

以下是引用 xiaoz2005-8-3 23:50:40 的发言:
If you write a Word Macro yourself or get it from a reliable source, there is no risk of macro virus. I have used a macro convert ordinary characters into acccented characters (used for Pinyin glosses with tones).

Can the converter convert everything, i mean different characters to Romanized pinyin? Would like to share?
 
Is Word Macro so amazing? I can't believe it, I use Word everyday, but just as a soft typewriter. How wonderful it would be if I could use it.
 
回复:用Word 制作机助附码工具

以下是引用 dzhigner2005-8-3 23:03:13 的发言:
I BUILT AN EXAMPLE TEMPLATE, BUT I AM NOT 100% SURE IT IS THE THING OF INTEREST IN THE DISCUSSION.

Very nice. Thanks.

Now I am a bit more greedy...

Could you build a macro where a menu list is presented to the user,
and the user can then select one of the items on the list for tagging.
One example of this for discourse analysis would be the information status
of an NP referent, where the Tag is INFO and the menu choices would
be GIVEN/ACCESSIBLE/NEW. So you could have the tagged text looking
something like this:

<INFO type="given"> TEXT OF THE NP </INFO> or
<INFO type="accessible"> TEXT OF THE NP </INFO> or
<INFO type="new"> TEXT OF THE NP </INFO>
 
Sub TAG_INFO_GIVEN()
Application.Selection.InsertBefore ("<INFO type=" & Chr(34) & "given" & Chr(34) & ">")
Application.Selection.InsertAfter ("</INFO>")
End Sub

Sub TAG_INFO_ACCESSIBLE()
Application.Selection.InsertBefore ("<INFO type=" & Chr(34) & "accessible" & Chr(34) & ">")
Application.Selection.InsertAfter ("</INFO>")
End Sub

Sub TAG_INFO_NEW()
Application.Selection.InsertBefore ("<INFO type=" & Chr(34) & "new" & Chr(34) & ">")
Application.Selection.InsertAfter ("</INFO>")
End Sub

dzhigner posted only an image.
I am posting here is the script of the toolbar.


http://www.corpus4u.org/upload/forum/2005080410250689.doc
 
最后再简要讲一下用法,工具条做好以后,选中(highlight)要标注的NP,然后点击相应的given accessible new的button即可。
 
作菜单的目的是把TAG分组组织,方法很简单:自定义>命令>新菜单,然后就像制作一颗新按钮一样,drag & drop就可以了,菜单完成后,再加入菜单子项。一个菜单对应的是一组命令,一个菜单项对应的是一个命令。
 
回复:用Word 制作机助附码工具:不会编程也能做

Here is my test version of some tags (+/-Human; Information status; quotation)

2005080412205214.jpg
 
Lovely.
From now on we can diy our own annotators at will.

关于那个新菜单是我没有看有仔细看dzhigner 的instructions
也就是这一步
2005080413050792.jpg
 
Back
顶部