PDA

查看完整版本 : 标注对话


see_how_much_I_love_you
2007-02-02, 11:13 PM
把所有真接引语(即".....")句前都标注<D>句后标注</D>,如何做到?

动态语法
2007-02-03, 01:38 AM
Try the ACWT tagging functions.

see_how_much_I_love_you
2007-02-03, 01:55 PM
用正则表达将前后两个"替换掉,可怎么分得清"在前还是在后呢?
文本有段首句首标注<P><S>和段尾句尾标注</P></S>.

动态语法
2007-02-03, 02:17 PM
If you want to replace both, why do you care which is which?

see_how_much_I_love_you
2007-02-03, 02:23 PM
要分清谁在前、谁在后。
做成的标注应是这样的:
举个例子
<P><S> <D> "Where are you?" </D> </S></P>
红字是新加的,黑字是原有的.

动态语法
2007-02-03, 02:29 PM
If you follow the discussion on ACWT on this site, you'll see why this is not a problem. Otherwise you can try this site,

http://www.humnet.ucla.edu/alc/chinese/ACWT/ACWT.htm

and look at the screenshots, Tool #3, Discourse Tagging (03_DiscTag):

http://www.humnet.ucla.edu/alc/chinese/ACWT/screen.htm

ACWT= A Corpus Worker's Toolkit, one of the functions is to tag text, in the way you want.

动态语法
2007-02-03, 02:31 PM
If your text has been tagged with <S> before the opening quotation mark and </S> after the closing quotation mark, you can simply replace all cases of <S> with <S><D> and all cases of </S> with </D></S>, just use FIND AND REPLACE (ALL) will do.

Of course you want to make sure that all instances of <S> correspond to the opening QM and all instances of </S> correspond to the closing QM.

see_how_much_I_love_you
2007-02-03, 02:44 PM
为什么点DOWNLOAD下载的不是程序文件呢

动态语法
2007-02-03, 02:47 PM
It's a zip file. You need to unzip it and follow the instructions to install the individual components.

But in your case if you can use 'search and replace', you don't need ACWT. You need ACWT if you want to tag your text manually.

wfy
2007-02-04, 10:37 AM
如果文本有段首句首标注<P><S>和段尾句尾标注</P></S>,你只要<S> "之间加上<D>,在" </S>之间加上</D>就行了。

动态语法
2007-02-04, 11:29 AM
I think it's more complicated since the <S> and </S> correspond to many different 'sentences'.

see_how_much_I_love_you
2007-02-06, 08:42 AM
I think it's more complicated since the <S> and </S> correspond to many different 'sentences'.
GREAT!!

julia2006
2007-02-13, 02:10 PM
请问你标注直接引语是做什么研究呢?

xiaoz
2007-02-13, 06:24 PM
The Lancaster Speech, Writing and Thought Presentation Project

http://bowland-files.lancs.ac.uk/stwp/default.htm