Eddie Epstein | 1 May 03:07
Picon

Re: Server Socket Timeout Woes

On Wed, Apr 30, 2008 at 5:12 PM, Charles Proefrock <chas.pro@...>
wrote:

> Thanks for the heads-up.  I'm new to the Apache world ... Is there a
> repository of requirements or a component functional description for
> UIMA-AS, or does an interested party need to join the dev group and download
> the project to access this material?

There was a post on uima-dev some time back with a pointer to more info:
http://cwiki.apache.org/UIMA/uimaasdoc.html

Need to provide honest assessments of the technology to users, and propose
> next steps ... so information is always helpful.In any event, always good to
> see something better come along that has the words "no code changes
> required" associated with it ;)
>

No code changes, right. We took advantage of breakage caused by the name
space move to org.apache to make a few other changes, but otherwise UIMA has
done a good job of preserving backwards compatibility all along.

A simple way to think about UIMA-AS is that the core UIMA aggregate defines
a CPE (note that collection readers, analysis engines and CAS consumers are
all allowed in a UIMA aggregate), and UIMA-AS leverages asynchronous
middleware (JMS implementations) to provide a flexible way of deploying UIMA
aggregate components in order to achieve scale up.

Eddie
ldcousin | 2 May 01:02

setting aggregate parameters

Hi all,

I am fairly new to UIMA.  What I want to do is at run-time pass 
initialization parameters to a UIMA instance started in a Java application 
like this:

            File aeDescriptor = new File( "AggregateAnnotator.xml" );
            XMLInputSource in = new XMLInputSource( aeDescriptor );
            ResourceSpecifier specifier = 
UIMAFramework.getXMLParser().parseResourceSpecifier( in );
            ae = UIMAFramework.produceAnalysisEngine( specifier );

            ConfigurationParameterSettings configParamSettings = 
ae.getAnalysisEngineMetaData().getConfigurationParameterSettings();
            configParamSettings.setParameterValue( "Parameter_Name", 
"Parameter Value" );
            ae.reconfigure();

            cas = ae.newCAS();
            cas.setDocumentText( "some text" );
            ae.process( cas );

            // do some processing with the cas
            cas.reset();

My AggregateAnnotator.xml is an aggregate analysis engine.  I want all the 
primitive annotators in it to be able to see  "Parameter_Name" with 
"Parameter Value",
but when I set it with the above:

(Continue reading)

Eddie Epstein | 2 May 19:08
Picon

Re: setting aggregate parameters

I'd guess the aggregate descriptor needs to explicitly specify parameter
overrides for those delegate parameters to be controlled at the aggregate
level.

Eddie

On Thu, May 1, 2008 at 7:02 PM, <ldcousin@...> wrote:

> Hi all,
>
> I am fairly new to UIMA.  What I want to do is at run-time pass
> initialization parameters to a UIMA instance started in a Java application
> like this:
>
>            File aeDescriptor = new File( "AggregateAnnotator.xml" );
>            XMLInputSource in = new XMLInputSource( aeDescriptor );
>            ResourceSpecifier specifier =
> UIMAFramework.getXMLParser().parseResourceSpecifier( in );
>            ae = UIMAFramework.produceAnalysisEngine( specifier );
>
>            ConfigurationParameterSettings configParamSettings =
> ae.getAnalysisEngineMetaData().getConfigurationParameterSettings();
>            configParamSettings.setParameterValue( "Parameter_Name",
> "Parameter Value" );
>            ae.reconfigure();
>
>            cas = ae.newCAS();
>            cas.setDocumentText( "some text" );
>            ae.process( cas );
>
(Continue reading)

ldcousin | 2 May 19:22

Re: setting aggregate parameters

Thanks for the reply.  Yes you are right.  I discovered that the aggregate 
descriptor had to override
the parameter name and then I needed to set it with:

        ae.setConfigParameterValue( "Overridden_Name", "Overridden_Value" 
);

and get it with:

        ae.getConfigParameterValue( "Overridden_Name" )

instead of using the ConfigurationParameterSettings stuff.  Then all the 
primitive descriptors that
use that overridden name can see the change.

"Eddie Epstein" <eaepstein@...> 
05/02/2008 11:09 AM
Please respond to
uima-user@...

To
uima-user@...
cc

Subject
Re: setting aggregate parameters

I'd guess the aggregate descriptor needs to explicitly specify parameter
overrides for those delegate parameters to be controlled at the aggregate
level.
(Continue reading)

Nicolas Hernandez | 7 May 19:02
Picon

How to update a feature value from an annotation created by a previous annotator ?

Hello,

I am a bit lost. Does someone have an example of some code which update
feature values of some already existing annotations ? I wonder whether I
have to add to the index again...

I had a look to these links, even to the code of the regexp annotator
sandbox, but it remains unclear...
  *
http://incubator.apache.org/uima/downloads/releaseDocs/2.1.0-incubating/docs/html/tutorials_and_users_guides/tutorials_and_users_guides.html#ugr.tug.cm.using_cm_to_merge_cases
  *
http://incubator.apache.org/uima/downloads/releaseDocs/2.1.0-incubating/docs/html/references/references.html#ugr.ref.jcas.adding_removing_instances_to_indexes

Thanks in advance for your help

/Nicolas

--

-- 
Nicolas.Hernandez@...
--
# Laboratoire LINA-TALN CNRS UMR 6241
tel. +33 (0)2 51 12 58 55
# Institut Universitaire de Technologie de Nantes - Département Informatique

tel. +33 (0)2 40 30 60 67
Burn Lewis | 7 May 20:04
Picon

Re: How to update a feature value from an annotation created by a previous annotator ?

If you're not changing anything that determines how the annotation is
indexed you can just set it. e.g. if you have retrieved an object foo with a
feature count, then: foo.setCount(foo.getCount()+1);

From just before your second reference:
Note

It's OK to change feature values which are not used in determining sort
ordering (or set membership), without removing and re-adding back to the
index.
If your change affects one of the index variables you'll have to remove and
add again to the indexes.

Burn.

On Wed, May 7, 2008 at 1:02 PM, Nicolas Hernandez <
nicolas.hernandez@...> wrote:

> Hello,
>
> I am a bit lost. Does someone have an example of some code which update
> feature values of some already existing annotations ? I wonder whether I
> have to add to the index again...
>
> I had a look to these links, even to the code of the regexp annotator
> sandbox, but it remains unclear...
>  *
>
> http://incubator.apache.org/uima/downloads/releaseDocs/2.1.0-incubating/docs/html/tutorials_and_users_guides/tutorials_and_users_guides.html#ugr.tug.cm.using_cm_to_merge_cases
>  *
(Continue reading)

Thilo Goetz | 7 May 20:21
Picon
Picon

Re: How to update a feature value from an annotation created by a previous annotator ?

Nicolas Hernandez wrote:
> Hello,
> 
> I am a bit lost. Does someone have an example of some code which update
> feature values of some already existing annotations ? I wonder whether I

You can just use the usual set methods.  Setting a feature value
for the second time (updating) is no different from setting it
for the first time.

> have to add to the index again...

That's a bit tricky.  My assumption is that you are talking about
annotations, and that you haven't defined an index of your own (i.e.,
you're using the built-in annotation index).  In that case, you
would only have to reindex the annotation if you changed the begin
or end position.  Note that if you want to do this, you need to
delete the annotation from the index *before* you change any of
the offsets, and then add it again later.

That's all you need to know.  The following is just if you
want to understand why ;-)

Most indexes (including the default annotation index) are just
sorted collections.  The sort order is defined via the values
of certain features.  In the case of the annotation index, that's
the begin and end position.  In other cases, it might be other
features as well.  The sort order is used both to insert and
to retrieve feature structures.  That means that before you
insert a FS into an index, all features relevant to the sort
(Continue reading)

Michael Baessler | 8 May 12:47
Picon
Favicon

[ANNOUNCE] Apache UIMA base framework version 2.2.2-incubating

The Apache UIMA community is pleased to announce the availability of the
Apache UIMA base framework release version 2.2.2-incubating.
The release is a bugfix release and is available for download on the Apache UIMA website

   http://incubator.apache.org/uima/downloads.html

The main fixes for the current release are:
- Performance improvements for the capabilityLanguageFlow
- Improvements to the UIMA featurePath evaluation
- Correction of the default result spec computation for analysis engines
  or aggregate analysis engines.

The complete list of fixes is available in the release notes.

   http://incubator.apache.org/uima/downloads/releaseDocs/2.2.1-incubating/RELEASE_NOTES.html

We also updated the UIMA Eclipse update site with the new release artifacts. To update
or install the UIMA Eclipse plugins please use the update site below.

   http://www.apache.org/dist/incubator/uima/eclipse-update-site/

The Apache UIMA team

INCUBATION DISCLAIMER

Apache UIMA is an effort undergoing incubation at The Apache Software
Foundation (ASF). Incubation is required of all newly accepted projects
until a further review indicates that the infrastructure, communications,
and decision making process have stabilized in a manner consistent with
other successful ASF projects. While incubation status is not necessarily
(Continue reading)

Michael Baessler | 8 May 12:47
Picon
Favicon

[ANNOUNCE] Apache UIMA Annotator-Addons version 2.2.2-incubating

The Apache UIMA community is pleased to announce the availability of the
Apache UIMA Annotator Addons release version 2.2.2-incubating.
The UIMA Annotator Addons release is the first annotator release of the Apache UIMA Sandbox.

When using the annotator components in this release users can start building real text analysis
solutions based on a Apache UIMA analysis chain ranging from Tokenization and POS-tagging to pattern
 and dictionary matching. It is now also possible to integrate the results easily into applications
when using the simple REST service wrapper.

The release is available for download on the Apache UIMA website.

   http://incubator.apache.org/uima/downloads.html

The components that are available with the release are:
- WhitespaceTokenizer Annotator
- Tagger Annotator
- RegularExpression Annotator
- Dictionary Annotator
- SimpleServer (REST service wrapper)

For further details about the release, please refer to the release notes.

   http://www.apache.org/dist/incubator/uima/RELEASE_NOTES-uimaj-annotator-2.2.2-incubating.html

The Apache UIMA team

INCUBATION DISCLAIMER

Apache UIMA is an effort undergoing incubation at The Apache Software
Foundation (ASF). Incubation is required of all newly accepted projects
(Continue reading)

Favicon

RE: [ANNOUNCE] Apache UIMA base framework version 2.2.2-incubating

If I click on any of the links to software on
http://incubator.apache.org/uima/downloads.html I get:

Not Found

The requested URL
/uima/[preferred]/incubator/uima/binaries/uimaj-2.2.2-incubating/uimaj-2
.2.2-incubating-bin.zip was not found on this server.

Is something not working yet?

Thanks,
Frank

-----Original Message-----
From: Michael Baessler [mailto:mbaessler@...] 
Sent: Thursday, May 08, 2008 6:47 AM
To: uima-user@...; announce@...
Subject: [ANNOUNCE] Apache UIMA base framework version 2.2.2-incubating

The Apache UIMA community is pleased to announce the availability of the
Apache UIMA base framework release version 2.2.2-incubating.
The release is a bugfix release and is available for download on the
Apache UIMA website

   http://incubator.apache.org/uima/downloads.html

The main fixes for the current release are:
- Performance improvements for the capabilityLanguageFlow
- Improvements to the UIMA featurePath evaluation
(Continue reading)


Gmane