index frown with Xaira

用Xaira tools索引frown 时出现问题,如图未命名.jpg
看了lahong的帖子,以frownA 为例,在前面加了<?xml version="1.0" encoding="utf-8"?> <text>后面加了</text>,存为frown.xml in UTF-8 format.,可是结果是无效文件:
“名称以无效字符开头。处理资源 'file:///C:/Documents and Settings/JOHNNIE/桌面/FROWN_A.xml' 时出错。第 3 行,位置: 10

A01 1 <#FROWN:A01\><h_><p_>After 35 straight veto victories, intense
---------^”

请问问题出在哪里啊?
 
回复: index frown with Xaira

The public release of Frown is not XML-compaible - as the error in this case indicates, <#FROWN:A01\> is not valid or well formed XML. So simply providing a start and end tag will not do.
 
回复: index frown with Xaira

Here is an XML sample:

<text corpus="FROWN" ID="A">
<file ID="A1"><p><s n="0001"> <w POS="II">After</w> <w POS="MC">35</w> <w POS="JJ">straight</w> <w POS="NN1">veto</w> <w POS="NN2">victories</w> <w POS="YCOM">,</w> <w POS="JJ">intense</w> <w POS="NN1">lobbying</w> <w POS="VVZ">fails</w> <w POS="NN1">president</w> <w POS="IW">with</w> <w POS="NN1">election</w> <w POS="II">in</w> <w POS="NN1">offing</w> </s>
</p>
<p><s n="0002"> <w POS="II">By</w> <w POS="NP1">Elaine</w> <w POS="NP1">S.</w> <w POS="NP1">Povich</w> </s>
</p>
<p><s n="0003"> <w POS="NP1">CHICAGO</w> <w POS="NN1">TRIBUNE</w> </s>
</p>
<p><s n="0004"> <w POS="NP1">WASHINGTON</w> <w POS="YDSH">-</w> <w POS="II">Despite</w> <w POS="JJ">intense</w> <w POS="NP1">White</w> <w POS="NN1">House</w> <w POS="NN1">lobbying</w> <w POS="YCOM">,</w> <w POS="NN1">Congress</w> <w POS="VHZ">has</w> <w POS="VVN">voted</w> <w POS="TO">to</w> <w POS="VVI">override</w> <w POS="AT">the</w> <w POS="NN1">veto</w> <w POS="IO">of</w> <w POS="AT1">a</w> <w POS="NN1">cable</w> <w POS="NN1">television</w> <w POS="NN1">regulation</w> <w POS="NN1">bill</w> <w POS="YCOM">,</w> <w POS="VVG">dealing</w> <w POS="NNB">President</w> <w POS="NP1">Bush</w> <w POS="AT">the</w> <w POS="MD">first</w> <w POS="NN1">veto</w> <w POS="NN1">defeat</w> <w POS="IO">of</w> <w POS="APPGE">his</w> <w POS="NN1">presidency</w> <w POS="RR">just</w> <w POS="MC">four</w> <w POS="NNT2">weeks</w> <w POS="II">before</w> <w POS="AT">the</w> <w POS="NN1">election</w> <w POS="YSTP">.</w> </s>
</p>
<p><s n="0005"> <w POS="NPD1">Monday</w> <w POS="NNT1">night</w> <w POS="YCOM">,</w> <w POS="AT">the</w> <w POS="NN1">Senate</w> <w POS="VVD">overrode</w> <w POS="AT">the</w> <w POS="NN1">veto</w> <w POS="MCMC">74-25.</w> <w POS="AT">the</w> <w POS="DA">same</w> <w POS="NN1">margin</w> <w POS="II">by</w> <w POS="DDQ">which</w> <w POS="AT">the</w> <w POS="JJ">upper</w> <w POS="NN1">house</w> <w POS="VVD">approved</w> <w POS="AT">the</w> <w POS="NN1">bill</w> <w POS="MD">last</w> <w POS="NNT1">month</w> <w POS="CC">and</w> <w POS="RR">comfortably</w> <w POS="II">above</w> <w POS="AT">the</w> <w POS="MF">two-thirds</w> <w POS="NN1">majority</w> <w POS="VVD">needed</w> <w POS="YSTP">.</w> </s>
</p>
<p><s n="0006"> <w POS="XX">Not</w> <w POS="MC1">one</w> <w POS="NN1">senator</w> <w POS="VVD">changed</w> <w POS="NN2">sides</w> <w POS="YCOM">,</w> <w POS="AT1">a</w> <w POS="NN1">blow</w> <w POS="II">to</w> <w POS="NP1">Bush</w> <w POS="GE">'s</w> <w POS="NN1">prestige</w> <w POS="CS">after</w> <w POS="PPHS1">he</w> <w POS="VHD">had</w> <w POS="RR">heavily</w> <w POS="VVN">lobbied</w> <w POS="NN1">Republican</w> <w POS="NN2">senators</w> <w POS="YCOM">,</w> <w POS="VVG">urging</w> <w POS="PPHO2">them</w> <w POS="XX">not</w> <w POS="TO">to</w> <w POS="VVI">embarrass</w> <w POS="PPHO1">him</w> <w POS="RG">this</w> <w POS="RR">close</w> <w POS="II">to</w> <w POS="AT">the</w> <w POS="NN1">election</w> <w POS="YSTP">.</w> </s>
</p>
<p><s n="0007"> <w POS="DB2">Both</w> <w POS="NP1">California</w> <w POS="NN2">senators</w> <w POS="YCOM">,</w> <w POS="NN1">Republican</w> <w POS="NP1">John</w> <w POS="NP1">Seymour</w> <w POS="CC">and</w> <w POS="NN1">Democrat</w> <w POS="NP1">Alan</w> <w POS="NP1">Cranston</w> <w POS="YCOM">,</w> <w POS="VVD">voted</w> <w POS="TO">to</w> <w POS="VVI">sustain</w> <w POS="AT">the</w> <w POS="NN1">veto</w> <w POS="YSTP">.</w> </s>
</p>
<p><s n="0008"> <w POS="AT">The</w> <w POS="NN1">bill</w> <w POS="VBDZ">was</w> <w POS="RR">immediately</w> <w POS="VVN">sent</w> <w POS="II">to</w> <w POS="AT">the</w> <w POS="NN1">House</w> <w POS="YCOM">,</w> <w POS="DDQ">which</w> <w POS="VVD">voted</w> <w POS="MCMC">308-114</w> <w POS="IF">for</w> <w POS="AT">the</w> <w POS="NN1">override</w> <w POS="YCOM">,</w> <w POS="MC">26</w> <w POS="DAR">more</w> <w POS="CSN">than</w> <w POS="VVN">needed</w> <w POS="YSTP">.</w> </s>
<s n="0009"> <w POS="AT1">A</w> <w POS="NN1">cheer</w> <w POS="VVD">went</w> <w POS="RP">up</w> <w POS="II">as</w> <w POS="AT">the</w> <w POS="NN1">House</w> <w POS="NN1">vote</w> <w POS="VBDZ">was</w> <w POS="VVN">tallied</w> <w POS="YCOM">,</w> <w POS="VVG">ending</w> <w POS="NP1">Bush</w> <w POS="GE">'s</w> <w POS="NN1">string</w> <w POS="IO">of</w> <w POS="JJ">successful</w> <w POS="NN2">vetoes</w> <w POS="II">at</w> <w POS="MC">35</w> <w POS="YSTP">.</w> </s>
</p>
<p><s n="0010"> <w POS="II">Among</w> <w POS="DD2">those</w> <w POS="VVG">voting</w> <w POS="TO">to</w> <w POS="VVI">override</w> <w POS="II">in</w> <w POS="AT">the</w> <w POS="NN1">Senate</w> <w POS="VBDZ">was</w> <w POS="JJ">Democratic</w> <w POS="JJ">vice</w> <w POS="JJ">presidential</w> <w POS="NN1">nominee</w> <w POS="NP1">Al</w> <w POS="NP1">Gore</w> <w POS="YCOM">,</w> <w POS="AT1">a</w> <w POS="NN1">co-author</w> <w POS="IO">of</w> <w POS="AT">the</w> <w POS="NN1">bill</w> <w POS="YSTP">.</w> </s>
<s n="0011"> <w POS="PPHS1">He</w> <w POS="RT">then</w> <w POS="VVD">left</w> <w POS="AT">the</w> <w POS="NN1">chamber</w> <w POS="TO">to</w> <w POS="VVI">join</w> <w POS="JJ">Democratic</w> <w POS="JJ">presidential</w> <w POS="NN1">nominee</w> <w POS="NP1">Bill</w> <w POS="NP1">Clinton</w> <w POS="II">on</w> <w POS="NN1">'Larry</w> <w POS="NNB">King</w> <w POS="NP1">Live'</w> <w POS="II">on</w> <w POS="NP1">CNN</w> <w POS="YSTP">.</w> </s>
</p>
</file>
</text>
 
回复: index frown with Xaira

Thanks,xiaoz.where can i get a XML-compaible Frown ? or must i change XAIRA to antconc? i want to do a comparative study in lcmc and frown., do i have to use the same concordance tool, such as xaira, or can i use xaira in lcmc and antconc in frown? would the result be the same in the two situations?
 
Back
顶部