uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: Not seeing the document names in the Document Analyzer
Date Tue, 22 Mar 2011 17:09:20 GMT


On 3/22/2011 12:25 PM, Marshall Schor wrote:
> Here's an idea:
>
> The suffix doc1.xmi doc2.xmi, etc are produced when the XMI Cas Serializer is
> called with a null file name:
>
> uimaj-examples/src/main/java/org/apache/uima/examples/xmi/XmiWriterCasConsumer.java
>
> line 108-110:
>     if (outFile == null) {
>       outFile = new File(mOutputDir, "doc" + mDocNum++ + ".xmi");    
>     }
>
> The code above that has a try block that might be getting tripped up by the fact
> that your install point is in a path with a blank in it.
>
> Can you try installing into a path without a blank?

I tried this, and it also worked (with blanks in the file path) - so that's not
it...

I'll contact you off-list to debug this mystery. -Marshall
> -Marshall
>
> On 3/22/2011 8:48 AM, Bob Sizemore wrote:
>> Anybody have any ideas for me to try to get the doc analyzer showing the right
>> document names?
>>
>>
>>
>

Mime
View raw message