Re: Retrieving annotator back from analysis engine

2017-03-30 Thread Marshall Schor
ould get to via > reflection (accepting all the risks and bad practices that entails!) > > James > > On 30 March 2017 at 15:07, Marshall Schor wrote: > >> Hi James, >> >> The UIMA terminology discusses two kinds of entities: >> >> a) Annota

Re: Retrieving annotator back from analysis engine

2017-03-30 Thread Marshall Schor
Hi James, The UIMA terminology discusses two kinds of entities: a) Annotators - take a CAS in, operate on it, update it, etc. These are the building blocks of pipelines. b) UIMA Applications (e.g., "pipelines") made up of some collection of Annotators. In most UIMA applications, there migh

Re: Updating to 3.0.0-alpha

2017-03-27 Thread Marshall Schor
Hi, this is now fixed (in the next release). To work around for now, please replace calls to TypeSystemUtils.classifyType(Type myType) with TypeSystemImpl.getTypeClass((TypeImpl) myType) Cheers. -Marshall On 3/27/2017 11:37 AM, Marshall Schor wrote: > will fix this under Jira issue ht

Re: Updating to 3.0.0-alpha

2017-03-27 Thread Marshall Schor
will fix this under Jira issue https://issues.apache.org/jira/browse/UIMA-5387 -Marshall On 3/27/2017 10:24 AM, Marshall Schor wrote: > Hi, > > sorry, I missed this email... I'll investigate. It seems this method was > removed as part of the reorganization of how th

Re: Updating to 3.0.0-alpha

2017-03-27 Thread Marshall Schor
Hi, sorry, I missed this email... I'll investigate. It seems this method was removed as part of the reorganization of how this information is maintained in V3 But you make a good point about backwards compatibility... -Marshall On 2/21/2017 11:39 PM, Chad Cravens wrote: > Hello UIMA group!

Re: Question regarding the encoding of footnotes, marginal notes and images

2017-03-22 Thread Marshall Schor
Hi, Here are some thoughts. * You have main-text, images, margin notes, and for the latter two, "position on the page" information. You should put the main-text into a sofa, like you say. You may put the images and margin notes into either additional sofas or feature structures in the main sofa

Re: Many views in the cas to serialize cause java.lang.NullPointerException in service uima-as

2017-02-17 Thread Marshall Schor
t sure if I get to it today. If not >>> this will have to wait till Monday next week. I've already mentioned this >>> before, don't operate on a CAS once it leaves an AE. The contract is >>> CAS-In >>> CAS-out. A CAS instance can only be operated on by one AE at a

Re: Many views in the cas to serialize cause java.lang.NullPointerException in service uima-as

2017-02-15 Thread Marshall Schor
ew && no Sofa yet >>>> // all >>>> non-initial-views must have a sofa >>>>* return ((CASImpl)cas.getView(sofaNum)).getSofaRef();* >>>> } >>>> return 0; >

Re: Many views in the cas to serialize cause java.lang.NullPointerException in service uima-as

2017-02-09 Thread Marshall Schor
could reproduce it, that would enable a rapid resolution. -Marshall On 2/9/2017 3:58 PM, Marshall Schor wrote: > The line throwing the null pointer exception is : > > cas.getView(sofaNum).getSofaRef() > > So the NPE is either the cas is null, or the getView(sofaNum) is returning

Re: Many views in the cas to serialize cause java.lang.NullPointerException in service uima-as

2017-02-09 Thread Marshall Schor
The line throwing the null pointer exception is : cas.getView(sofaNum).getSofaRef() So the NPE is either the cas is null, or the getView(sofaNum) is returning null. I'm not sure what the best way is to debug this... -Marshall On 2/9/2017 12:42 PM, nelson rivera wrote: > I have a aggregate

Eclipse update site awareness: version 3.0.0.alpha of the UIMA plugins hiding production versions

2017-02-02 Thread Marshall Schor
The Eclipse Update Site for UIMA (http://www.apache.org/dist/uima/eclipse-update-site) now has the new "alpha" version of the UIMA SDK plugins, and it shows as the "latest level" in the Eclipse "install new software" dialog box. But you should only install this level if you want to experiment with

[ANNOUNCE] Apache UIMA Java SDK 3.0.0-alpha released

2017-01-31 Thread Marshall Schor
k via the Apache UIMA project mailing lists. -Marshall Schor, for the Apache UIMA development team signature.asc Description: OpenPGP digital signature

Re: Build error for UIMA because of Eclipse?

2017-01-23 Thread Marshall Schor
yes, this occasionally happens when others upload things to Maven central that have some issues. Fixed in the trunk under Jira https://issues.apache.org/jira/browse/UIMA-5252 Basically, the fix involved adding some dependency exclusions to the pom, to work around some missing artifacts not upload

Re: Proccesing Bamun characters

2016-12-14 Thread Marshall Schor
g but you could add a ConfigurationParameterSetting of UTF-8 for the >> Encoding parameter in its descriptor. >> >> With the client & server on different (Linux) machines I see no problem >> with sending UTF-8 characters. >> >> >> On Mon, Dec 12, 2016

Re: Proccesing Bamun characters

2016-12-14 Thread Marshall Schor
/>> >> Note that the FileSystemCollectionReader by default uses the system >> encoding but you could add a ConfigurationParameterSetting of UTF-8 for the >> Encoding parameter in its descriptor. >> >> With the client & server on different (Linux) machines

Re: Proccesing Bamun characters

2016-12-12 Thread Marshall Schor
er.toHexString() to print out each byte, shows > > fff0 ff96 ffa6 ff80 > > fff0 ff96 ffa6 ff90 > > ffef ffbf ffbd > > ffef ffbf ffbd > > 2016-12-12 11:35 GMT-05:00, Marshall Schor : >> Hi Nelson, >> >

Re: Proccesing Bamun characters

2016-12-12 Thread Marshall Schor
mXmi(),to be processed for the service. > > 2016-12-08 16:48 GMT-05:00, Marshall Schor : >> Hi Nelson, >> >> I can't see the characters (sorry). >> >> This might be an issue caused by a discrepancy between the coding of the >> file >> being read

Re: Proccesing Bamun characters

2016-12-08 Thread Marshall Schor
Hi Nelson, I can't see the characters (sorry). This might be an issue caused by a discrepancy between the coding of the file being read, and the coding indicated on the xml header. Can you check that those two things are the same? See http://stackoverflow.com/questions/5165347/what-use-is-the-e

Re: newbie questions about UIMA Types

2016-12-01 Thread Marshall Schor
Here's how I think about UIMA types, versus rich data structures available in modern programming languages. UIMA was designed to facilitate combining more-or-less independently developed components (Annotators). How each primitive annotator is programmed, internally, is invisible to UIMA - the a

Re: XmiCasSerializer omits namespace prefixes in XML elements

2016-11-28 Thread Marshall Schor
issue might be. > > -Oliver > > -Original Message- > From: Marshall Schor [mailto:m...@schor.com] > Sent: Wednesday, November 23, 2016 4:49 PM > To: user@uima.apache.org > Subject: Re: XmiCasSerializer omits namespace prefixes in XML elements > > Do you see fa

Re: XmiCasSerializer omits namespace prefixes in XML elements

2016-11-23 Thread Marshall Schor
Do you see failures in UIMA 2.9.0, but no failures for earlier versions of UIMA? (in other words, can you tell if this is a 2.9.0 issue, or is more general)? -Marshall On 11/23/2016 1:24 PM, Oliver Ferschke wrote: > Hi all, > I'm experiencing some odd behavior of the XmiCasSerializer (UIMA 2.9.0

Re: XmiCasSerializer omits namespace prefixes in XML elements

2016-11-23 Thread Marshall Schor
see for instance, https://issues.apache.org/jira/browse/UIMA-5177 On 11/23/2016 2:09 PM, Burn Lewis wrote: > I've seen JUnit tests failing in this way when Saxon9 is in the classpath. > Saxon and UIMA don't appear to work together. > > ~Burn > > On Wed, Nov 23, 2016 at 1:24 PM, Oliver Ferschke >

Re: Sorting overlapping annotation of same type using UIMAFIT

2016-11-23 Thread Marshall Schor
e was to add a feature I can store a integer which I > use to sort the annotations. It is not a good approach because the user > will need to remember to sort it before using. > > Thank you > William > > 2016-11-21 20:10 GMT-02:00 Marshall Schor : > >> The select for

Re: Sorting overlapping annotation of same type using UIMAFIT

2016-11-21 Thread Marshall Schor
The select form you're using iterates using UIMA's built-in Annotation index. This index is sorting the annotations based on 3 criteria: 1) the begin (ascending order) 2) the end (descending order) 3) the type priority You can use the 3rd criterion to set a preference ordering among two annot

Re: CPE processors and analysis engines

2016-09-08 Thread Marshall Schor
Hi, I'm not the expert here, but here's my opinion. The typical way annotators are combined is via Aggregates; this is the most direct, efficient, and supported way to do this. The CPE itself has not had much development over time; it was superceeded (but is still in use, of course) by UIMA-AS,

[ANNOUNCE] Apache UIMA Java SDK 2.9.0 released

2016-08-30 Thread Marshall Schor
the current Eclipse (Neon) release. -Marshall Schor, for the Apache UIMA development team signature.asc Description: OpenPGP digital signature

Re: UIMA class?

2016-08-29 Thread Marshall Schor
did you see the "getting started" part of the docs for UIMA? e.g. http://uima.apache.org/documentation.html#getting_started -Marshall On 8/29/2016 11:31 AM, Sean Crist wrote: > Hi, > > I’ve found that UIMA has such a learning curve to it that I’m wondering if > anyone ever offers classes in it (

Re: Eclipse Neon and version 2.8.2

2016-08-03 Thread Marshall Schor
review etc. often takes a week or 2, sometimes more if issues are found... -Marshall On 8/3/2016 3:07 AM, Asher Stern wrote: > Thanks > > 2016-08-03 9:35 GMT+03:00 Peter Klügl : > >> Hi, >> >> >> we are currently solving some other issues for the release. After that, >> the release process will b

Re: No sofaFS for specified sofaRef found

2016-05-13 Thread Marshall Schor
Thanks for your report, analysis, and the data; very thorough and helpful. I was trying to imagine how the input XMI file could have become "corrupted" in this manner. I'm guessing that what may have happened is that something outside of the XMI file changed - for instance, the type system. This

Re: Uima Annotation Viewer view selection causing StackOverflow

2016-03-19 Thread Marshall Schor
quot; (2nd item). In the resulting viewer, change the Sofa pull-down from DEFAULT to (for example) English Document. This causes a stack overflow. I've created a Jira issue for this: https://issues.apache.org/jira/browse/UIMA-4863. -Marshall On 3/14/2016 4:16 PM, Hector Liu wrote: >

Re: Uima Annotation Viewer view selection causing StackOverflow

2016-03-10 Thread Marshall Schor
Hi Hector, It would greatly help if you could supply a small test case. I'm guessing this problem occurs with the CVD (Cas Visual Debugger) tool, is that correct? I'm also guessing that you have to load into the tool something that has multiple Sofas, is that correct? Thanks. -Marshall On 3/

Re: Uima Annotation Viewer view selection causing StackOverflow

2016-01-28 Thread Marshall Schor
>From your note (... caused by recent Java update...) can you confirm this is works fine and is not an issue with an older level of Java? The current level of Oracle Java (is that what you're using?) is 1.8.0_72-b15 (from their website). If you think it might be a Java issue, please try other leve

Re: CAS serializationWithCompression

2016-01-13 Thread Marshall Schor
is getting added back into the CAS with each > iteration. > > -Dan > > -Original Message- > From: Marshall Schor [mailto:m...@schor.com] > Sent: Tuesday, January 12, 2016 11:56 AM > To: user@uima.apache.org > Subject: Re: CAS serializationWithCompression > >

Re: CAS serializationWithCompression

2016-01-12 Thread Marshall Schor
hmmm, seems like unusual behavior. It would help a lot to diagnose this if you could construct a small test case - one which perhaps creates a cas, fills it with a bit of data, does the compressed serialization, resets the cas, and loops and see if that produces "expanding" serializations. -- i

Re: Document Analyzer cannot find DictionaryResource_impl from ConceptMapper

2015-12-02 Thread Marshall Schor
It might be this simple: The error message says it can't find the resource: org.apache.uima.conceptMapper.support.dictionaryResource.DictionaryResource_impl Your Jar dump at the bottom shows the Jar has DictionaryResource_impl.xml So, perhaps you need to put this resource in subdirectories so

Re: ClassNotFound Error when running the UIMA tutorial

2015-11-12 Thread Marshall Schor
Hi Balaji, I'm not sure why you're getting this kind of error. One way to fix this is to download a UIMA distribution (which I'm guessing you've already done), and then make sure the Jars in the UIMA distribution's /lib directory are in the classpath you are running. If this doesn't help, perhap

Re: How to correclty implement delta serialization in locally deployed CPE pipeline?

2015-10-01 Thread Marshall Schor
Hi, A little more detail of what you're doing may help us figure out what's happening. What API(s) are you using to do the serialization? -Marshall On 9/29/2015 2:57 PM, José Tomás Atria wrote: > Hello all, > > I've been trying to wrap my head around this for a while, and I can't seem > to get

Re: Adding additional pattern to CPE Analysis Engine Regular Expression

2015-09-28 Thread Marshall Schor
sorry to say our mail server doesn't support attachments. Please use some publicly accessible posting spot and then include the link in the email. -Marshall On 9/22/2015 9:36 AM, Olivier Austina wrote: > Hi All, > > I try to add additional pattern (here web site regular expression) with email >

Re: FeaturePath vs. FeatureValuePath

2015-09-28 Thread Marshall Schor
ly the parts we need > currently). Will the deprectated stuff will be removed with the v3 release or > can be count on it that can be used for a longer time? ... well it has been > deprecated for some time and should then maybe be removed. > > Best, > > Peter > > Am 24.

Re: FeaturePath vs. FeatureValuePath

2015-09-24 Thread Marshall Schor
Hi, I'm not familiar with this area. I did some looking, and found the original note which motivated this change http://mail-archives.apache.org/mod_mbox/incubator-uima-dev/200801.mbox/%3c4794ba4a.7030...@michael-baessler.de%3E (Did a history on FeatureValuePath, found the UIMA-718 ref to deprec

Re: Missing user-defined annotations from Aggregate Analysis Engine

2015-08-27 Thread Marshall Schor
This is just a wild guess... may be way off base. There are multiple ways people look at CAS results; some use the CVD, some use the Document Analyzer. There's a "feature" of the DocumentAnalyzer viewer that surprises many people. It looks at the pipeline's top level (usually aggregate) XML desc

Re: Getting UIMA working with Eclipse-- Cannot find main for Document Analyzer

2015-08-19 Thread Marshall Schor
Jira https://issues.apache.org/jira/browse/UIMA-4562. There was an accidental commit of changes to the launchers, that caused this problem. The fix is to revert those launcher changes. This is now committed to the trunk. Thanks for reporting the error :-) -Marshall On 8/17/2015 10:32 AM, Josh

Re: Running UIMA 2.8.1 in Eclipse Mars - Component Descriptor Editor not available

2015-08-17 Thread Marshall Schor
Hi, THe editor depends on other Eclipse UIMA plugins - that's why just dropping it in by itself isn't working. Can you try installing (into a new MARS unzip) the 2.8.1 Eclipse tools from http://www.apache.org/dist/uima/eclipse-update-site? -Marshall On 8/17/2015 3:20 PM, Martin Wunderlich wro

Re: Getting UIMA working with Eclipse-- Cannot find main for Document Analyzer

2015-08-17 Thread Marshall Schor
tracked this down to a couple of lines that have sneaked into the launch configurations that are associated with Maven / eclipse integration. When those lines are removed, the launchers work. I'll enter a Jira to fix this (tomorrow). Thanks for reporting this issue. -Marshall On 8/17/2015 10:3

Re: Getting UIMA working with Eclipse-- Cannot find main for Document Analyzer

2015-08-17 Thread Marshall Schor
I think you did everything right. I tried this, and got the same error. The imported examples project from the UIMA binary un-tarred distribution has the class path set to include the jars from UIMA_HOME. With UIMA_HOME properly set, I don't see any compile errors in the uimaj-examples project i

[ANNOUNCE} Apache UIMA Java SDK 2.8.1 released

2015-08-11 Thread Marshall Schor
re and framework for the analysis of unstructured content like text, video and audio data. - -Marshall Schor, for the Apache UIMA development team -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.21 (MingW32) iQIcBAEBCgAGBQJVyhsLAAoJEHMl+QLhMDqZMEQP+wSZDFjZUJcs6D4rj8ZeQdhW 8ShH1QVh

Re: UIMA in Eclipse Mars, "Add UIMA nature", second empty window opens

2015-07-28 Thread Marshall Schor
Jira added https://issues.apache.org/jira/browse/UIMA-4543 On 7/28/2015 9:50 AM, Marshall Schor wrote: > Hi, > > I tried this using MARS with Windows - works fine. > I tried this using MARS with Linux - got the same issue you saw. > > This "extra" window pops up every

Re: UIMA in Eclipse Mars, "Add UIMA nature", second empty window opens

2015-07-28 Thread Marshall Schor
Hi, I tried this using MARS with Windows - works fine. I tried this using MARS with Linux - got the same issue you saw. This "extra" window pops up every time the dialog window comes up. I tried another kind of dialog pop-up - that one worked OK. So, there may be something involved in how this

UIMA 2.8.0 issues - will be releasing 2.8.1 very soon

2015-07-24 Thread Marshall Schor
Hi, UIMA-2.8.0 has 2 issues: https://issues.apache.org/jira/browse/UIMA-4533 and https://issues.apache.org/jira/browse/UIMA-4534 The first causes the CasAnnotationViewer (used to view CASes from the DocumentAnalyzer) to fail if a feature value is one of the built-in array types. The second cause

[ANNOUNCE] Apache UIMA Java SDK 2.8.0 released

2015-07-22 Thread Marshall Schor
iterator usage. The second version number was incremented because we restored some APIs that were accidentally dropped in 2.7.0. Please visit http://uima.apache.org/news.html for more details. -Marshall Schor, for the Apache UIMA community

Re: How to use cTakes as a UIMA component

2015-07-20 Thread Marshall Schor
cTakes is a UIMA component, AFAIK. The web page for Apache cTakes has a "Getting started" which has some examples. -Marshall On 7/18/2015 7:53 AM, Ralph Lecessi wrote: > Hello, > > I'm interested in building an application in the Eclipse IDE > that uses the cTAKES library as a component in the U

Travel funding for ApacheCon EU Budapest - need to act today!

2015-07-16 Thread Marshall Schor
>From the Apache Travel assistance committee: HI All, This is a reminder that currently applications are open for Travel Assistance to go to ApacheCon EU Budapest this coming September/October. Applications close tomorrow night so if you have not applied yet and intend to do so, please act now!

Re: UIMAj3 ideas

2015-07-10 Thread Marshall Schor
On 7/9/2015 6:52 PM, Petr Baudis wrote: https://cwiki.apache.org/confluence/display/UIMA/Ideas+for+UIMAJ+v3 > I didn't figure out how to edit that wiki page, Due to spammers, we had to turn off public editing. However, I can add you to a list ( to do this, you have to "register" for a user i

Re: [ANN] Multi-threaded UIMA ASB

2015-07-09 Thread Marshall Schor
Hi, just saw this ... I'll take a look. This kind of thing is "on the list" for uima v3; see https://cwiki.apache.org/confluence/display/UIMA/Ideas+for+UIMAJ+v3 -Marshall On 6/14/2015 8:20 PM, Petr Baudis wrote: > Hi! > > I have created an extension of UIMA that replaces its default ASB > w

Re: Adding Annotations To Some Indexes

2015-07-09 Thread Marshall Schor
Hi Luis, UIMA indexes don't support what you're asking, in general. You can get this effect by having a unique type Foo, and defining a custom index over that type. Some caveats: - the index will be over Foo and all of its subtypes. If you define Foo to have no subtypes, then it's just over Fo

Re: Problem with Eclipse and UIMA

2015-06-03 Thread Marshall Schor
>From the trace it looks like the classpath you're running with is missing the main UIMA core jar. I assume you're launching from Eclipse. Please check the classpath used when launching to insure it has the UIMA core jar. -Marshall On 6/3/2015 2:21 AM, molly wrote: > Hi Marshall, > > I have a

Re: Problem with Eclipse and UIMA

2015-05-23 Thread Marshall Schor
Hi, Sorry to hear of the startup troubles; I think they can be quickly solved. Here are some suggestions. The bottom line - I think the directions were written assuming you have two Eclipse projects in your workspace, one for the uimaj-examples, and one for the uimaj-tools itself. This would be

Re: CasCopier breakages in uimaj-2.7.0

2015-05-23 Thread Marshall Schor
Hmmm, yes, it seems that the alreadyCopied method signature was accidentally changed. Jiras issue https://issues.apache.org/jira/browse/UIMA-4428 was created for this, and the fix is done (in the trunk). Sorry about that! -Marshall On 5/22/2015 6:21 PM, Petr Baudis wrote: > Hi! > > I'm try

Re: some problem in UIMA software

2015-04-01 Thread Marshall Schor
Hi, I think that the UIMA Semantic Search example is many years old, and is no longer available, sorry! If you are interested in this kind of search extension, the current approach is to use Lucene / Solr, which have integration with UIMA pipelines. See the add-ons section ( http://uima.apache.o

There are several Apache UIMA talks at ApacheCon 2015 in Austin Texas, in 2 weeks

2015-03-30 Thread Marshall Schor
details on these. I will be there, conducting the birds-of-a-feather session, and hope to see as many of you as can make it! -Marshall Schor

Fwd: [ANNOUNCE] Apache UIMA Java SDK 2.7.0 released

2015-03-06 Thread Marshall Schor
ME and RELEASE_NOTES (available on the web-site, as part of the News article for this release) for more details. - --Marshall Schor, for the Apache UIMA development team -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.21 (MingW32) iQIcBAEBCgAGBQJU+oRWAAoJEHMl+QLhMDqZfi4P/3i64NjgEAD1pK+il1f8E5GY 6

Re: ApacheCon 2015 (April) UIMA Track

2015-01-23 Thread Marshall Schor
Just a reminder - the deadline for submitting is fast approaching (end of this month). Please consider submitting talks; we're hoping to get a talk on DUCC among others... -Marshall On 12/16/2014 11:22 AM, Marshall Schor wrote: > We are planning a UIMA Track at the next ApacheCon co

Re: How to use ConceptMapper

2015-01-21 Thread Marshall Schor
Hi, Concept Mapper is an "add-on" and isn't described in the web page you referenced, as you noticed. You can read the docs for it here: http://uima.apache.org/d/uima-addons-current/ConceptMapper/ConceptMapperAnnotatorUserGuide.html To find this on the main web site, use the left-hand navigation

ApacheCon 2015 (April) UIMA Track

2014-12-16 Thread Marshall Schor
; the deadline is February 1st. Questions? Please email d...@uima.apache.org -Marshall Schor, for the Apache UIMA project

Re: How to using C++ DLL in Java Version UIMA

2014-12-15 Thread Marshall Schor
This was answered in the dev list. -Marshall On 12/7/2014 9:29 PM, Yang's Hotmail wrote: > Hi, > I tried to create a UIMA project using Java( with eclipse Luna), the > problem is my algorithm is written in C++. > I have no ideal how to using this DLL within Java version UIMA, is it > necess

Re: Ruta additional extensions

2014-12-04 Thread Marshall Schor
svn is sick - see http://status.apache.org/ it's been sick a while: scroll down a bit on that page and see the svn commit activity drop to 0 about maybe 16 hours ago. -Marshall On 12/3/2014 9:57 AM, Peter Klügl wrote: > The svn commit failed. I gonna try it again later. > > Am 03.12.2014 15:45,

Re: can't remove duplicate Annotations with Java Set Collection

2014-11-20 Thread Marshall Schor
05-389-8512** > **upload logs here* <http://www.ecurep.ibm.com/app/upload> > > > > > > > <http://www.facebook.com/ibmwatson><https://twitter.com/@ibmwatson><http://www.youtube.com/user/IBMWatsonSolutions/videos> > > > &g

Re: can't remove duplicate Annotations with Java Set Collection

2014-11-18 Thread Marshall Schor
HashMap hm = new HashSet(); for (Annotation a : tempList) { hm.put(a.getCoveredText(), a); } -Marshall On 11/18/2014 9:45 AM, Marshall Schor wrote: > Eclipse pointed out a bug in my code, fix is below > On 11/18/2014 9:37 AM, Marshall Schor wrote: >> Hi Kameron, >> >>

Re: can't remove duplicate Annotations with Java Set Collection

2014-11-18 Thread Marshall Schor
Eclipse pointed out a bug in my code, fix is below On 11/18/2014 9:37 AM, Marshall Schor wrote: > Hi Kameron, > > Based on this code snip, the two "cat" annotations you create are "different" > using the HashSet definition, because they correspond to two distinc

Re: can't remove duplicate Annotations with Java Set Collection

2014-11-18 Thread Marshall Schor
- > > *Kameron Arthur Cole > Watson Content Analytics Applications and Support > email: **kameronc...@us.ibm.com* <mailto:kameronc...@us.ibm.com>* | Tel: > 305-389-8512** > **upload logs here* <http://www.ecurep

Re: can't remove duplicate Annotations with Java Set Collection

2014-11-17 Thread Marshall Schor
Hi, Two Feature Structures are considered "equal" in the sense used by HashSet, if fs1.equals(fs2). The definition of "equals" for feature structures is: they are equal if they refer to the same underlying CAS, and the same "spot" in the the CAS Heap. How did you create the Annotations that you

Re: looking for lots of example UIMA code

2014-10-29 Thread Marshall Schor
On 10/29/2014 12:43 PM, Kameron Cole wrote: > > Thanks for the references. As for the samples on the UIMA sight, this is > quite a find. I have been on this site for 10 years now, and never really > stumbled across it. Just to be sure, this is where I am finding the most > useful examples: > ht

Re: looking for lots of example UIMA code

2014-10-28 Thread Marshall Schor
The UIMA project itself has a folder devoted to example code. You can access it by downloading the uimaj binary distribution, and looking into the uimaj-examples directory, or online here: http://svn.apache.org/viewvc/uima/uimaj/tags/uimaj-2.6.0/uimaj-examples/ HTH. -Marshall On 10/28/2014 4:1

Re: query about PEAR installation for DUCC

2014-10-15 Thread Marshall Schor
Hi, I'm not an expert, but here is something to look at. The stack trace at the very top seems to be starting with some kind of Java / Swing GUI. Are you sure you posted a stack trace from an invocation from the command line of runPearInstallerCli (not runPearInstaller ) ? -Marshall On

Re: Publication about UIMA Ruta

2014-10-11 Thread Marshall Schor
Congratulations! -Marshall On 10/9/2014 5:06 AM, Peter Klügl wrote: > Hi, > > it has been about one and a half year since we renamed the system to its > current and nice name. However, from then on, there was no main > publication to cite in order to refer to UIMA Ruta. > > I can proudly announce

Re: Could UIMA AS client send custom key value parameters to annotator?

2014-10-11 Thread Marshall Schor
On 10/7/2014 4:51 PM, Jeffery Yuan wrote: > Eddie Epstein writes: > >> There is no mechanism for a uima-as client to modify the result >> specification of a remote service. Since type/feature control cannot >> indicate many other behavioral characteristics, like speed vs accuracy >> tradeoffs, th

Re: UIMA Addons ConceptMapper - where to start

2014-09-18 Thread Marshall Schor
he above xml files using Component Descriptor Editor and manually > add the deleted items back to using import tag > > Regards, > > Debbie > >> -Original Message- >> From: Marshall Schor [mailto:m...@schor.com] >> Sent: Wednesday, 12 March 2014 6:08 AM >&g

Re: ResourceInitializationException

2014-09-14 Thread Marshall Schor
Hi, Just a quick something to check - I notice your file URL starts with file:ist/utl/... which looks like it might be missing some required "/" characters after the "file:" part. Can you check that syntax? Googling file urls gives useful summary links describing file urls. -Marshall On 9/13/

Re: Loading a resource from the classpath

2014-08-08 Thread Marshall Schor
:-) -Marshall On 8/7/2014 12:26 PM, Alexandre Patry wrote: > Well, the error was on the other side of the screen. This works perfectly well > with fileUrl, I only had a typo in my path. > > On 07/08/2014 11:37, Alexandre Patry wrote: >> Hi, >> >> I would like to locate a resource in the classpath,

Re: CAS to RDF

2014-08-01 Thread Marshall Schor
On 7/28/2014 11:32 AM, Nick Nikandish wrote: > Hi there, > > I am able to generate an XML file from a CAS using CasToInlineXML() class. Hi, please be aware that the CasToInlineXML class only creates an approximate representation of your CAS. For a description of the various approximations, pleas

Re: Restricting a aggregate engine to a substring or mention

2014-06-17 Thread Marshall Schor
One other thought (probably not well-formed...): You could use 1 CAS, but multiple views. Each view can have its own subject-of-analysis. This might not work for you, though, as you might want the original subject-of-analysis in order to preserve the "offset" values for annotations' begin and en

ApacheCon Call For Papers (closes in just 2 weeks (June 25))

2014-06-11 Thread Marshall Schor
lease consider submitting a proposal, at http://events.linuxfoundation.org//events/apachecon-europe/program/cfp Thanks! -Marshall Schor, on behalf of the UIMA Community

Re: Is there a way to tell UIMA component to only extract some kind of entities when run opennlp.pear?

2014-05-15 Thread Marshall Schor
UIMA's descriptors include a section under the XML capabilities element where the descriptor may specify inputs and outputs. These end up informing the ResultSpecification which is provided to the annotator. The ResultSpecification can be queried by the annotator code to see what the annotator ou

[ANNOUNCE] Apache UIMA Java SDK 2.6.0 released

2014-05-13 Thread Marshall Schor
e UIMA Java SDK, and is backward compatible with the previous release, except it now requires Java version 1.6 or later. -- Marshall Schor, for the Apache UIMA development team

Re: RandomAccessFile problem in UIMA

2014-05-04 Thread Marshall Schor
The Eclipse feature to is "m2e". -Marshall On 5/2/2014 8:47 PM, Debbie Zhang wrote: > Thanks Alexandre for your reply! > > I will try extJWNL as suggested. As I have never used maven, may I ask which > maven Eclipse plugin you use? > > Thanks again for your help! > > Regards, > > Debbie > > >> --

Re: Deduplicating Annotations With Same coveredText

2014-04-22 Thread Marshall Schor
If you plan on running your pipeline in one JVM (rather than having it scaled out over multiple JVMs), you can consider using an external resource which would be a plain Java Set of the unique covered text so far found. Then, in the annotator (or annotators) that are adding new FeatureStructures r

Re: next UIMA workshop?

2014-04-10 Thread Marshall Schor
On 4/9/2014 12:15 PM, Jens Grivolla wrote: > On Mon, Mar 31, 2014 at 10:12 PM, Marshall Schor wrote: > >> On 3/26/2014 9:44 AM, Jens Grivolla wrote: >>> Finally, despite the fact that UIMA does not appear in the title anymore, >>> would it be possible to have an ann

Re: Threadsafe advice for using SharedResourceObject

2014-04-01 Thread Marshall Schor
On 4/1/2014 7:05 AM, Swril wrote: > I have an AE that I am running in a CPE. > The AE has a ExternalResource to a SharedResourceObject. > I set the setMaxProcessingUnitThreadCount to 5. > > When I run the pipeline, I am getting errors like NPE which hinted that > things are out-of-step due to th

Re: next UIMA workshop?

2014-03-31 Thread Marshall Schor
On 3/26/2014 9:44 AM, Jens Grivolla wrote: > Hi all, I have just posted the (more or less) final CFP on uima-user and > uima-dev. > > Feel free to distribute the CFP to anybody you think would be interested. > While this has been merged with a different workshop and thus has a somewhat > wider sc

Re: UIMA Addons ConceptMapper - where to start

2014-03-11 Thread Marshall Schor
On 3/4/2014 5:01 AM, Debbie Zhang wrote: > Thanks Marshall! > >> Well, adding the UIMA nature to your project, surprised me a bit. You >> would do this if you wanted to package the results of your work as a >> PEAR package, after you've finished creating an annotator pipeline you >> wish to deliv

Re: UIMA Addons ConceptMapper - where to start

2014-03-02 Thread Marshall Schor
ning the referenced descriptor on Eclipse's source class path. (you do this by some menu action - like right clicking the directory containing the descriptors you want to be able to find, in the PackageExplorer view of Eclipse, and selecting "Build Path" -> "add to Build Pat

Re: UIMA Addons ConceptMapper - where to start

2014-03-01 Thread Marshall Schor
Hi Debbie, On 2/28/2014 2:35 AM, Debbie Zhang wrote: > Hi all, > > > > I would like to learn how to use ConceptMapper in the UIMA Addons. So far, > what I have done was to add ConceptMapper jar file to my project path and > attach the doc jar file to the jar file. I have read through the > docum

Re: UIMA Ruta installation problems

2014-02-24 Thread Marshall Schor
On 2/24/2014 12:31 PM, Peter Klügl wrote: > btw, your mails take some time to arrive at this list. I just received your > mail from Friday. > > Maybe you did not subscribe to the user list and thus the mail has to be > accepted by the list moderator. This is just a guess. Good guess :-) I modera

Re: uima jcas get annotation type from string

2014-02-13 Thread Marshall Schor
On 2/13/2014 8:13 AM, Peter Klügl wrote: > maybe something like > > cas.getTypeSystem().getType("my.package.AnnotationName") +1. See the Javadocs for TypeSystem: http://uima.apache.org/d/uimaj-2.5.0/apidocs/org/apache/uima/cas/TypeSystem.html -Marshall > > Best, > > Peter > > Am 13.02.2014 14:

Re: Unable to use ConceptMapper annotator

2014-02-11 Thread Marshall Schor
Hi Peter, Thanks for pointing this out. I checked, and did see it there (in analysis_engine/primitive/DictTerm.xml) So, to make this work, you have to change the spot where this is referenced, from trying to reference: "org/apache/uima/conceptMapper/DictTerm.xml" (won't be found in the jar at

Re: Unable to use ConceptMapper annotator

2014-02-10 Thread Marshall Schor
I'm not an expert for this, but in looking at what you posted, I noticed that the error is saying it can't find a file (... DictTerm.xml), whereas you say the Jar contains the "class" - which it does, but it doesn't have that file. -Marshall The file in question, .../DictTerm.xml is On 2/10/2014

Re: Need help for integrating solr-4.5.1 with UIMA

2014-02-07 Thread Marshall Schor
Hi, >From the stack trace, it appears you have configured the UIMA pipeline you're using with SOLR to run the OpenCalais annotator. This annotator connects to the Open Calais service; that service requires that you register and obtain some kind of license key. Have you done this? Did you config

[ANNOUNCE] Apache UIMA Java SDK 2.5.0 released

2014-01-14 Thread Marshall Schor
ckward compatible with the previous release. - --Marshall Schor, for the Apache UIMA development team -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.21 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCgAGBQJS1VlzAAoJEHMl+QLhMDqZqOwP/R+gejAVYmPOM4XW7K

Re: big offsets efficiency, and multiple offsets

2013-12-04 Thread Marshall Schor
Echoing Richard, 1) It would perhaps make more sense to be more direct about each of the different types of data. UIMA "built-in" only the most "popular" things - and Annotation was one of them. Annotation derives from Annotation-base, which just defines an associated Sofa / view. So it would m

Re: Exception found in resource specifier for Soap Service

2013-11-12 Thread Marshall Schor
that's not what you mean, can you please restate what you're trying to do in more detail? -Marshall > Is it possible?? Can I run CPM type of service using Soap Service > > Thanks in Advance. > > On 11/11/2013 07:32 PM, Marshall Schor wrote: >> On 11/11/2013 4:48

<    1   2   3   4   5   >