You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Loren Cahlander <lo...@gmail.com> on 2009/01/22 18:49:07 UTC

Looking for Maven archetypes for UIMA components.

Hello,

I am working with Dan McCreary at Syntatica.  I am working on  
developing components for UIMA.  I am developing an RSS/Atom  
Collection Reader that will send out RSS/Atom entries to the Analysis  
Engines.  I am planning on creating a Maven project for each  
Collection Reader, Analysis Engine, etc.  Does anyone have a  
recommendation of a Maven archetype for me to use?

We are working on using UIMA and very much like the architecture.  It  
is very well designed.

Thank you,

Loren Cahlander
http://www.linkedin.com/in/lorencahlander




Re: Creating Maven archetypes for UIMA components.

Posted by Marshall Schor <ms...@schor.com>.
Hi Loren,

You can find some JUnit "setup"s for collection processing in the
project uimaj-cpe; look in src/test/java.
When I took a look at, for instance, the
CollectionProcessingEngine_implTest, the setup didn't do much - it only
gets a path to a file; each test actually does its own setup,
initializing a collection processing engine dynamically.

Another approach to try for finding useful code is to use Eclipse's
search methods.  Here's what I often do: (apologies if you already know
all about this...)

1) select in the package-explorer, a node in the file hierarchy.  For
instance, looking for test case code for the collection processing
stuff, select in the uimaj-cpe project, the folder "src/test/java". 

2) Use the eclipse search: from the top menu, Search -> File... ->  File
Search tab, and fill in in the "Containing Text" box:
CollectionReader_ImplBase and in the "File name patterns" *.java and in
the "Scope" click on "Selected resources".  This last couples the search
to the selection you made in step 1, above.  Then hit the search button,
and you can find all the tests which somehow reference the
CollectionReaderEngine_ImplBase, and go look at what they're doing (just
double click on any line of interest, or use the "Search" results top
menu bar's up & down arrows).

Hope this helps.  If not, please ask your question again, with some more
details :-).

-Marshall
 

Loren Cahlander wrote:
> Hello folks,
>
> I have been looking around for Maven archetypes for UIMA components. 
> I have not found any and have seen that others are looking for the
> same thing.  I will be creating these archetypes and will share them
> with the community.
>
> I do need the community's help in creating the first JUnit for each of
> the components.  I am initially looking for the setUp() method for an
> implementation of the CollectionReader_ImplBase class.
>
> Thank you,
>
> Loren Cahlander
> http://www.linkedin.com/in/lorencahlander
>
>
>
> On Jan 22, 2009, at 11:49 AM, Loren Cahlander wrote:
>
>> Hello,
>>
>> I am working with Dan McCreary at Syntatica.  I am working on
>> developing components for UIMA.  I am developing an RSS/Atom
>> Collection Reader that will send out RSS/Atom entries to the Analysis
>> Engines.  I am planning on creating a Maven project for each
>> Collection Reader, Analysis Engine, etc.  Does anyone have a
>> recommendation of a Maven archetype for me to use?
>>
>> We are working on using UIMA and very much like the architecture.  It
>> is very well designed.
>>
>> Thank you,
>>
>> Loren Cahlander
>> http://www.linkedin.com/in/lorencahlander
>>
>>
>>
>
>

Creating Maven archetypes for UIMA components.

Posted by Loren Cahlander <lo...@gmail.com>.
Hello folks,

I have been looking around for Maven archetypes for UIMA components.   
I have not found any and have seen that others are looking for the  
same thing.  I will be creating these archetypes and will share them  
with the community.

I do need the community's help in creating the first JUnit for each of  
the components.  I am initially looking for the setUp() method for an  
implementation of the CollectionReader_ImplBase class.

Thank you,

Loren Cahlander
http://www.linkedin.com/in/lorencahlander



On Jan 22, 2009, at 11:49 AM, Loren Cahlander wrote:

> Hello,
>
> I am working with Dan McCreary at Syntatica.  I am working on  
> developing components for UIMA.  I am developing an RSS/Atom  
> Collection Reader that will send out RSS/Atom entries to the  
> Analysis Engines.  I am planning on creating a Maven project for  
> each Collection Reader, Analysis Engine, etc.  Does anyone have a  
> recommendation of a Maven archetype for me to use?
>
> We are working on using UIMA and very much like the architecture.   
> It is very well designed.
>
> Thank you,
>
> Loren Cahlander
> http://www.linkedin.com/in/lorencahlander
>
>
>


Re: Looking for Maven archetypes for UIMA components.

Posted by Marshall Schor <ms...@schor.com>.
I don't know of Maven archetypes for annotators.  If you create some,
perhaps that could be a useful contribution :-).

If you use Eclipse as your IDE, there is tooling within the CDE
(Component Descriptor Editor) Eclipse tool to create and edit a new
Collection Reader descriptor, etc.  For create, you use the Eclipse File
-> new ... UIMA  -> Collection Reader , etc.

-Marshall

Loren Cahlander wrote:
> Hello,
>
> I am working with Dan McCreary at Syntatica.  I am working on
> developing components for UIMA.  I am developing an RSS/Atom
> Collection Reader that will send out RSS/Atom entries to the Analysis
> Engines.  I am planning on creating a Maven project for each
> Collection Reader, Analysis Engine, etc.  Does anyone have a
> recommendation of a Maven archetype for me to use?
>
> We are working on using UIMA and very much like the architecture.  It
> is very well designed.
>
> Thank you,
>
> Loren Cahlander
> http://www.linkedin.com/in/lorencahlander
>
>
>
>
>