Hi Marshal,
Thank you for pointing out the other resources. I am interested in
RunAE CPE because it is very similar to what I need in my application.
I just tried to run it, but didn't print anything to the output
directory. Here are my args that I am passing to Eclipse argument tab:
${file_prompt:/Users/ahamed/Projects/workspace/ontotator-model-plugin/src/onto/resources/descriptors/analysis_engine/aggregate/USER_ASSEMBLED_AGGREGATE_AE.xml}
${folder_prompt:/Users/ahamed/DLink}
${folder_prompt:/Users/ahamed/ontotatorOutput}
When I get promoted, I select the AE and the directories but nothing
is printed on the screen nor the console. Any idea how to get it to
work?
Thanks very much,
Ahmed
On Wed, Oct 14, 2009 at 2:09 PM, Marshall Schor <[email protected]> wrote:
>
>
> Ahmed Abdeen Hamed wrote:
>> Hi Marshall,
>> I am trying to implement the exact GUI version of the DocumentAnalyzer
>> but to have it work from the commandline. Therefore, I removed all the
>> visual components(SWT/SWING) from the source. It is just not working.
>> If you guys have a version that I can use from the commandline that
>> does exactly what the DocumentAnalyzer is doing, that will be most
>> appreciated.
>>
> I don't think we have something which does *exactly* what the
> DocumentAnalyzer is doing. However please look at the examples in the
> examples part of UIMA. There are two in the package
> org.apache.uima.examples, "ExampleApplication" and "RunAE". They both
> do about the same thing, but the ExampleApplication runs an analysis
> engine, while the RunAE runs a Collection Processing Engine. See the
> comments at the top for more info.
>
> -Marshall
>> I sent a link to the current source file in a email.
>> Thanks,
>> Ahmed
>>
>>
>>
>> On Tue, Oct 13, 2009 at 1:22 PM, Marshall Schor <[email protected]> wrote:
>>
>>> Ahmed Abdeen Hamed wrote:
>>>
>>>> Hello,
>>>> I am trying to create a command line version of the
>>>> org.apache.uima.tools.docanalyzer.DocumentAnalyzer. So, I am utilizing
>>>> the UIMA source code . However, the version that I just created is not
>>>> returning the results
>>>>
>>> The results typically end up in a CAS. Are you looking in the CAS for
>>> them or something else?
>>>
>>>> yet terminates without errors. I tried to debug
>>>> it but can't see what is wrong. I used the same parameters with the
>>>> GUI version but it is working fine. I just can't get it to work from
>>>> the command line.
>>>>
>>>> I am attaching my Java class so perhaps someone can see what is wrong with
>>>> it.
>>>>
>>>>
>>> Attachments are not possible on this list. Can you put your attachment
>>> on some server and post the url to it?
>>>
>>> -Marshall
>>>
>>>> Thanks in advance!
>>>> Ahmed
>>>>
>>>>
>>
>>
>>
>