Re: Performance degradation in UIMA3

2020-06-29 Thread Marshall Schor
Hi, I've made a possible fix for this in the uimaj-master (the uimaj-core project) It would be great if you could test this on your big system. Thanks. -Marshall P.S., it's quite possible this issue was the "first one", and there may be others which will now surface (assuming this one is now

Re: Performance degradation in UIMA3

2020-06-29 Thread Marshall Schor
https://issues.apache.org/jira/browse/UIMA-6249 On 6/29/2020 8:32 AM, Marshall Schor wrote: > Hi, > > Thanks for this. Investigating... -Marshall > > > On 6/29/2020 6:15 AM, Augusto Ribeiro Silva wrote: >> Hi all, >> >> I am writing because I noticed that o

Re: Performance degradation in UIMA3

2020-06-29 Thread Marshall Schor
Hi, Thanks for this. Investigating... -Marshall On 6/29/2020 6:15 AM, Augusto Ribeiro Silva wrote: > Hi all, > > I am writing because I noticed that our pipelines got considerably slower > after updating to UIMA3. The cause of the slowdown seems to be the fact that > the method

Re: Issues upgrading UIMA from 2.x to 3.1

2020-05-29 Thread Marshall Schor
Hi Veena, Sorry you're having some troubles... These problems are usually due to classpath issues. When you do the JCasGen, it will have put the generated jcas classes somewhere. These newly generated classes have to be in the classpath instead of the previously generated JCas classes.

Re: list

2020-05-02 Thread Marshall Schor
Hi, It looks like you might be trying to subscribe to the uima-users mailing list at apache, unsuccessfully. To subscribe, send an email to user-subscr...@uima.apache.org (notice the "-subscribe" that is part of the "to". The email may be "empty" - no content.  It probably works with no

Re: UIMA v2 CAS deserialization in UIMA v3

2020-04-10 Thread Marshall Schor
a most lovely sentiment; you're most welcome :-)  -Marshall On 4/8/2020 5:20 PM, Peter Klügl wrote: > Hi, > > > I currently deserialize some UIMA v2 CAS files in UIMA v3 while the > typesystems have evolved considerably. > > I faced some problems, but managed to do what I wanted. > > > I just

Re: UIMA RUTA NPE in RutaLiteralMatcher (UIMA-6915)

2020-03-19 Thread Marshall Schor
obviously, Peter's reply (which I did not see) takes precedence :-)  -Marshall On 3/19/2020 10:09 AM, Marshall Schor wrote: > Hi, thanks for reminding about this issue.  (CCing the dev list, also) > > Patches are welcome.  I note that the github mirror of this project is not > up

Re: UIMA RUTA NPE in RutaLiteralMatcher (UIMA-6915)

2020-03-19 Thread Marshall Schor
Hi, thanks for reminding about this issue.  (CCing the dev list, also) Patches are welcome.  I note that the github mirror of this project is not up-to-date, so please use the SVN source. You can checkout the svn source from https://svn.apache.org/repos/asf/uima/uv3/ruta-v3/tags/ruta-3.0.0/

Re: Java 11 - UIMA-AS 2.10.3

2020-02-26 Thread Marshall Schor
Hi, This problem was fixed in core uima (uimaj) in version 2.10.3, see Jira issue: https://issues.apache.org/jira/browse/UIMA-5754 But uima-as version 2.10.3 was built/delivered with a previous version of core uima (uimaj), and doesn't have this fix. We'll look into fixes/workarounds for this

Re: Serializing CAS into XMI using UTF-8

2020-01-07 Thread Marshall Schor
not sure, but I think we don't have any code that handles utf-16 encoding when reading an external xmi cas. -Marshall On 1/7/2020 3:30 AM, Rune Stilling wrote: > Hi list > > I’ve run into a problem with serializing a cas in UTF-16 encoding. I use the > following code: >> XMLSerializer

Re: A new page, UIMA Java cookbook, added to website

2019-11-22 Thread Marshall Schor
cool... I did a slight reformatting that might increase readability - more "white-space" :-) -Marshall On 11/22/2019 3:49 PM, Richard Eckart de Castilho wrote: > Cool! > > I have elaborated a bit - although I fear my elaborations might be a bit > cryptic... > > The cookbook also inspired me

A new page, UIMA Java cookbook, added to website

2019-11-22 Thread Marshall Schor
Hi, I've put together a new page for the UIMA website, with items that are pretty simple, but I see in user code that sometimes they're not done properly or effectively. The new page is here: https://uima.apache.org/doc-uimaj-cookbook.html It's linked from the main documentation page, as one of

Re: Adding methods to UIMA annotation types defined in XML

2019-11-15 Thread Marshall Schor
e: > On 15. Nov 2019, at 17:26, Marshall Schor wrote: >> Also, you might not run the JCasGen code very often, because it only would >> need >> to be run if the type system changed. > I think with Java supporting default methods in interfaces these days, it > would

Re: Adding methods to UIMA annotation types defined in XML

2019-11-15 Thread Marshall Schor
On 11/15/2019 11:20 AM, Alain Désilets wrote: > Yeah, but won't my additions be destroyed the next time I modify the XML > file and regenerate the typesystem? Maybe not.  It might depend on exactly how you are generating.  The basic JCasGen software (that builds the code) is careful to preserve

Re: Adding methods to UIMA annotation types defined in XML

2019-11-15 Thread Marshall Schor
Even though the JCas classes can be generated from the XML file, you are allowed to add additional things to those source files, including    - additional fields    - additional methods See http://uima.apache.org/d/uimaj-2.10.4/references.html#ugr.ref.jcas.augmenting_generated_code -Marshall

Re: Erratic nullpointer exceptions because feature structure has no type in Ruta

2019-11-15 Thread Marshall Schor
good catch... I (obviously) didn't consider the error path...  -Marshall On 11/12/2019 3:48 AM, Richard Eckart de Castilho wrote: > On 11. Nov 2019, at 15:58, Marshall Schor wrote: >> This stack trace seems impossible, because the 3rd line shows >> >> CASImp

Re: Erratic nullpointer exceptions because feature structure has no type in Ruta

2019-11-11 Thread Marshall Schor
This stack trace seems impossible, because the 3rd line shows CASImpl.ll_getFSRef calling a FeatureStructureImpl.toString method, which I believe it doesn't do. -M On 11/11/2019 3:58 AM, Mario Juric wrote: > Hi Peter, > > A while ago we started to get some erratic null pointer exceptions from

[ANNOUNCE] Apache UIMA Java SDK version 3.1.1 released

2019-11-11 Thread Marshall Schor
elease since moving the Source Control from SVN to GIT. The source is now on https://github.com/apache/uima-uimaj See the UIMA News item for more details here: https://uima.apache.org/news.html Please send feedback via the Apache UIMA project mailing lists. - -Marshall Schor, for the Apach

Re: Use of CASes with sofaURI?

2019-10-25 Thread Marshall Schor
something like: has the potential to exceed your memory, at run time, due to the potential size of the data... On 10/25/2019 12:59 PM, Richard Eckart de Castilho wrote: > Hi, > > On 25. Oct 2019, at 17:53, Marshall Schor wrote: >> One other useful sources for examples: The test cases for

Re: Use of CASes with sofaURI?

2019-10-25 Thread Marshall Schor
One other useful sources for examples:  The test cases for UIMA, e.g. search the uimaj-core projects *.java files for "getSofaDataStream". -Marshall On 10/24/2019 6:11 PM, Richard Eckart de Castilho wrote: > Hi there, > > does somebody have an example of how to work with CASes that where the

Re: Use of CASes with sofaURI?

2019-10-25 Thread Marshall Schor
hi, not my area of expertise, but the docs say    http://uima.apache.org/d/uimaj-current/tutorials_and_users_guides.html#ugr.tug.aas.accessing_sofa_data that if you're using a URI, then you use the cas.getSofaDataURI(), which returns a string representation of the URI. To get the data, the docs

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-25 Thread Marshall Schor
experimental sample code. > > Cheers, > Mario > > > > > > > > > > > > > >> On 24 Sep 2019, at 21:32 , Marshall Schor wrote: >> >> yes, makes sense, thanks for posting the Jira. >> >> If no one else steps up to work on this, I'll proba

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-24 Thread Marshall Schor
org/jira/browse/UIMA-6128 > > Hope it makes sense :) > > Thanks a lot for the help, it’s appreciated. > > Cheers, > Mario > > > > > > > > > > > > > >> On 23 Sep 2019, at 16:33 , Marshall Schor wrote: >> >> Re: serializi

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-23 Thread Marshall Schor
gt; Mario > > > > > > > > > > > > > >> On 20 Sep 2019, at 20:52 , Marshall Schor wrote: >> >> In the test "OddDocumentText", this produces a "throw" due to an invalid xml >> char, which is the \u0002. >> >&g

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-23 Thread Marshall Schor
rent deliveries are complete. We also like to > switch to Java 11, and like UIMA 3 migration it will require some thorough > testing. > > Cheers, > Mario > > > > > > > > > > > > > >> On 20 Sep 2019, at 20:52 , Marshall Schor wro

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-20 Thread Marshall Schor
think it's out of our hands - it's somewhere deep in the sax transform java code. I looked for a bug report and found some https://bugs.openjdk.java.net/browse/JDK-8058175 Bottom line, is, I think to clean out these characters early :-) . -Marshall On 9/20/2019 1:28 PM, Marshall Schor wrote: &g

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-20 Thread Marshall Schor
codepoint with > the value 77987. We are simply not able to load this XMI because of this, but > unfortunately I couldn’t reproduce it in my small example. > > Cheers, > Mario > > > > > > > > > > > > >> On 19 Sep 2019, at 22:41 , Marshall Scho

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-19 Thread Marshall Schor
can be solved. We are primarily using XMI for inspection/debugging >> purposes, and we are sometimes not able to do this because of this error. I >> will try to extract a minimum example to avoid involving parts that has to do >> with our pipeline and type system, and I think this w

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-16 Thread Marshall Schor
though. -Marshall On 9/16/2019 2:42 PM, Richard Eckart de Castilho wrote: > On 16. Sep 2019, at 19:05, Marshall Schor wrote: >> I can reproduce the problem, and see what is happening. The deserialization >> code compares the two type systems, and allows for some mismatches (thi

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-16 Thread Marshall Schor
lo.ai>> >> wrote: >> >> Thanks Marshall, >> >> I’ll get back to you with a small sample as soon I get the time to do it. >> This will also get me a better understanding of the the format. >> >> >> Cheers, >> Mario >> >> >>

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-16 Thread Marshall Schor
oops, ignore that - I see Container is a JCas class ...  -M On 9/16/2019 9:30 AM, Marshall Schor wrote: > I may have some version pblms.  The LoadCompressedBinary has refs to a class > "Container", but I don't seem to have that class - where is it coming from? > > -Marshall

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-16 Thread Marshall Schor
eld some useful insights and thanks a lot :) > > Cheers > Mario > > > > > > > > > > > >> On 13 Sep 2019, at 21:55 , Mario Juric > <mailto:m...@unsilo.ai>> >> wrote: >> >> Thanks Marshall, >> >> I’ll get back

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-13 Thread Marshall Schor
I'm wondering if you could post a very small test case showing this problem with a small type system.  With that, I could run in the debugger and see exactly what was happening, and see whether or not some small fix would make this work. The Deserializer for this already supports a certain type

Re: How can I do efficient FSIndex lookup?

2019-09-09 Thread Marshall Schor
e are comparatively less of, to > find what we need than to index all associated features and find the relevant > target items through feature look up. > > Cheers, > Mario > > > > > > > > > > > > >> On 6 Sep 2019, at 16:50 , Marshall Schor wrot

Re: How can I do efficient FSIndex lookup?

2019-09-06 Thread Marshall Schor
of > dependencies. > > Thanks a lot and cheers, > Mario > > > > > > > > > > > > >> On 5 Sep 2019, at 23:42 , Richard Eckart de Castilho wrote: >> >> On 5. Sep 2019, at 23:40, Marshall Schor wrote: >>> The normal

Re: How can I do efficient FSIndex lookup?

2019-09-06 Thread Marshall Schor
Sorry, no. But you can make one "key" per CAS instance, and reuse it (you'll need to keep some kind of a reference to it). -Marshall On 9/5/2019 5:42 PM, Richard Eckart de Castilho wrote: > On 5. Sep 2019, at 23:40, Marshall Schor wrote: >> The normal way to get the &

Re: How can I do efficient FSIndex lookup?

2019-09-05 Thread Marshall Schor
Perhaps the use of a filtered iterator went in the wrong direction. The normal way to get the "binary search" kind of behavior is to get a plain iterator over the sorted index, and then use the moveTo method, specifying a target FS as the one to move to.  The target FS can be a "temporary" FS,

[ANNOUNCE] Apache UIMA Java SDK version 3.1.0 released

2019-08-16 Thread Marshall Schor
s.html Please send feedback via the Apache UIMA project mailing lists.  -Marshall Schor, for the Apache UIMA development team. -BEGIN PGP SIGNATURE-   iQIzBAEBCgAdFiEEOn/mVSh3S1eNEDz+zHYv/c0Ez9YFAl1WySUACgkQzHYv/c0E z9bCfQ//au4cK+i+XyFMWgg01FfQ5Tv6W2UHPtqNyq5XKI14jNaJpVhI2/

[ANNOUNCE] Apache UIMA 2.10.4 released

2019-08-09 Thread Marshall Schor
s some other fixes. See the UIMA News item for more details here: https://uima.apache.org/news.html Please send feedback via the Apache UIMA project mailing lists. - -Marshall Schor, for the Apache UIMA development team. -BEGIN PGP SIGNATURE-   iQIzBAEBCgAdFiEEOn/mVSh3S1eNED

Re: Build Error with Concept Mapper 2.10.2

2019-06-01 Thread Marshall Schor
/uima.apache.org/d/uima-addons-current/ConceptMapper/ConceptMapperAnnotatorUserGuide.html#configParams ) fixes this. -Marshall Schor On 5/31/2019 1:27 PM, Chinyere O. wrote: > Hi, > > I’m new to UIMA and I’m trying to get the concept mapper to run. I’ve > downloaded the concept mapp

Re: JCasGen classes for V3 compiler warnings

2019-06-01 Thread Marshall Schor
to submit Jira issues for the ones you want to work on, so any discussions around how to improve these can be documented in those Jiras. Thank you for your interest.  -Marshall Schor On 5/31/2019 1:01 PM, Hai-son X Nguyen wrote: > Hello, > > I am testing migrating to UIMA V3 (3.0.2) and

Re: close() never gets called on collection reader

2019-05-23 Thread Marshall Schor
hi, can you please state which component you're referring to , in which project (e.g.  uima java sdk, or uima-as, or uimaFIT, or RUTA, etc...). Is the ArtifactProducer class the org.apache.uima.collection.impl.cpm.engine.ArtifactProducer, or some other one? Thanks. -Marshall On 5/16/2019 6:26

Problem setting up a uimaFIT pipeline

2019-05-15 Thread Marshall Schor
Cross posted from stackoverflow: https://stackoverflow.com/questions/56149592/jcas-type-timex3-used-in-java-code-but-was-not-declared-in-the-xml-type-d Can someone see if the uimaFIT auto configure of the type system would work with this setup, or if something else is needed? -Marshall

Re: Eclipse ClassNotFoundException

2019-05-15 Thread Marshall Schor
Hi, I wonder if the name of the annotator might be an issue.  In general, a class name cannot have "." (periods) as part of the name - those are used to refer to the package name, and the package name parts are set up as hierarchically nested folders (each part corresponding to a segment of the

Re: What is the status of the CVD viewer?

2019-05-02 Thread Marshall Schor
; /Rune > >> Den 8. okt. 2018 kl. 17.48 skrev Marshall Schor : >> >> One alternative that may be useful is the DocumentAnalyzer. >> https://uima.apache.org/d/uimaj-current/tools.html#ugr.tools.doc_analyzer >> >> Patches welcome :-) >> >> -Marshall >

[ANNOUNCE] Apache UIMA 3.0.2 released

2019-04-11 Thread Marshall Schor
tation subiterator). See the UIMA News items for more details, here: https://uima.apache.org/news.html Please send feedback via the Apache UIMA project mailing lists. -Marshall Schor, for the Apache UIMA development team.

[ANNOUNCE] Apache UIMA 3.0.2 released

2019-04-11 Thread Marshall Schor
cases for the Annotation subiterator). See the UIMA News items for more details, here: https://uima.apache.org/news.html Please send feedback via the Apache UIMA project mailing lists. -Marshall Schor, for the Apache UIMA development team.

Re: Semantic search File missing

2019-03-19 Thread Marshall Schor
Hi, I believe the semantic search you found references to is no longer available. You might find a similar capability in the Apache Solr / Lucene projects. -Marshall On 3/19/2019 2:16 AM, Yash Kanojia wrote: > Hello, > > I am building a semantic search engine with the help of UIMA 3.0.1. When

Re: Uima and spring

2019-02-18 Thread Marshall Schor
Hi Sarah, I don't have knowledge of DKPro or Spring, but here's some general guidance, which may (or may not) be of use :-). External Resources are associated with a Resource Manager instance. Try figuring out how to have one Resource Manager instance be reused for multiple JCas instances.

Re: How to get TextRuler to work

2019-02-14 Thread Marshall Schor
Hi Mandy, ... >> By the way, in case anybody wants to pick up maintaining TextRuler >> again, I would suggest to improve a bit on error handling here. > > You can also help :-) A big +1 to this.  This is frequently how new contributors become involved in open-source efforts. And specific

Re: Issues with Ruta workbench (Permission Denied and wrong output view)

2019-02-06 Thread Marshall Schor
hi, I'm not an expert, but I'm guessing that there still is a permissions issue, perhaps on a different file or directory than the one you checked. Try having someone else take a look at your stack trace / error message, and your file system permissions.  A second pair of eyes often is helpful

Re: Is it possible to define dynamically typed annotations?

2018-12-15 Thread Marshall Schor
I guess the question is why have a new type?  The answer to that could motivate what properties the solution should have. What you propose is fine, but in some ways is not a new type, in that it doesn't seem to have many of the properties UIMA types have.      If that is OK in your application,

[ANNOUNCE] Apache UIMA 2.10.3 and Apache UIMA 3.0.1 released

2018-11-29 Thread Marshall Schor
e UIMA News items for more details, here: https://uima.apache.org/news.html Please send feedback via the Apache UIMA project mailing lists. -Marshall Schor, for the Apache UIMA development team.

Re: JCasGen like utility for generating POJO Classes in the type system

2018-10-15 Thread Marshall Schor
ce I need them to persist even after the the current > input text is being processed completely. So, almost a mirror typesystem is > desired. Perhaps I am not using the notion of typesystem appropriately... > > > > > On 2018/10/13 14:01:25, Marshall Schor wrote: >> hmmm, I g

Re: JCasGen like utility for generating POJO Classes in the type system

2018-10-13 Thread Marshall Schor
hmmm, I guess you've looked at jcasGen. I'm not understanding how the POJO class you're thinking of, differs from the one generated by JCasGen? -Marshall On 10/12/2018 8:20 AM, Amit Paradkar wrote: > I would like to generate pojo classes corresponding to the classes defined > in my type

Re: What is the status of the CVD viewer?

2018-10-09 Thread Marshall Schor
> Den 8. okt. 2018 kl. 17.48 skrev Marshall Schor : >> >> One alternative that may be useful is the DocumentAnalyzer. >> https://uima.apache.org/d/uimaj-current/tools.html#ugr.tools.doc_analyzer >> >> Patches welcome :-) >> >> -Marshall >> >>

Re: What is the status of the CVD viewer?

2018-10-08 Thread Marshall Schor
One alternative that may be useful is the DocumentAnalyzer.  https://uima.apache.org/d/uimaj-current/tools.html#ugr.tools.doc_analyzer Patches welcome :-) -Marshall On 10/8/2018 11:27 AM, Rune Stilling wrote: > Hi list > > We are using the CVD-viewer to view rather complex annotation document

Re: CAS and Serialization on Emoji codes

2018-09-05 Thread Marshall Schor
Hi, could you post a stack trace of the failure, so we could see the path between the JMSException and the call to addMessage(msg). -Marshall On 9/5/2018 9:50 AM, Yuqi Zhang wrote: > Dear UIMA experts, > > I need process a String including an emoji ( >

Fwd: DUCC Job does not work on any other language except English

2018-08-07 Thread Marshall Schor
Forwarded Message Subject:Re: DUCC Job does not work on any other language except English Date: Mon, 6 Aug 2018 18:29:22 -0400 From: Eddie Epstein To: Marshall Schor Sorry, I meant to say: Clearly this needs to be fixed in the next DUCC release, with a patch

Re: run existing AE instance on different view

2018-07-09 Thread Marshall Schor
Hi, Is anything in https://uima.apache.org/d/uimaj-2.10.2/tutorials_and_users_guides.html#ugr.tug.mvs.name_mapping_application helpful? If not, could you add some details that says why not? -Marshall On 7/5/2018 8:52 AM, Jens Grivolla wrote: > Hi, > > I'm trying to run an already instantiated

Re: Dynamically bind resources to AnalysisEngine

2018-04-11 Thread Marshall Schor
Hi, I don't know about DKPro, so someone more familiar with its conventions could respond. UIMA supports a decoupling of resources, shared among annotators running in some pipeline.  I'm guessing you're asking about this mechanism,  but before proceeding, there's nothing preventing you from

Re: UIMAfit CpeBuilder not compatible with CasMultipliers

2018-04-06 Thread Marshall Schor
:-)  isn't open source great?  -Marshall On 4/5/2018 7:21 AM, Erik Fäßler wrote: > Let me answer my own question. > The CpeBuilder only unwraps the *first* AAE level. Thus, I just had two wrap > my CasMultiplier twice and then it works. > Sorry to disturb :-) > >> On 5. Apr 2018, at 09:09, Erik

Re: newbie question: can't get annotationViewer.sh working...

2018-04-06 Thread Marshall Schor
Hi, sorry you're having troubles. The error message seems to indicate a failure of the viewer to be able to read the results. Here are some things to look at. When you run thd document analyzer, it should put up a "configuration" screen that has a field for an OutputDirectory.  Can you check to

Re: UIMA Installation Problem

2018-03-06 Thread Marshall Schor
Hi, I replied to your posting on the uima-dev list. -Marshall On 3/6/2018 4:13 AM, Debbie Zhang wrote: > Hi, > > We updated our Eclipse and reinstalled UIMA recently. However, after the new > installation, when I tried to use Component Descriptor Editor to open an > "Analysis Engine

Apache UIMA Java sdk 3.0.0 released

2018-03-05 Thread Marshall Schor
ion_3_users_guide.html This release requires Java 8, and is intended to be backwards compatible with existing Version 2 pipeline code, except for the need to regenerate or migrate (tooling provided) user-defined JCas class definitions. Please send feedback via the Apache UIMA project mailing li

Re: Warnings after importing uimaj-examples

2018-03-05 Thread Marshall Schor
Hi Barbara, In general, the warnings do not matter. These typically stem from the evolution of Java, for example: adding Generic Typing to the language.  Many of the examples have not been updated to take advantage of Generic Typing, which produces the "raw type" warnings. Feel free to

Re: Running bin files from UIMA_HOME bin directory

2018-02-28 Thread Marshall Schor
" which I have downloaded as the JDK from > Oracle at > http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html#javasejdk > > Also I am using Windows 7. > > Thanks > Barbara > > > > > > > > On 27 February 2018 at 05:23, Marshall Schor

Re: Running bin files from UIMA_HOME bin directory

2018-02-26 Thread Marshall Schor
Can you say what Java you're using? (Try the command   java -version    ) If it is not a mainline Java, e.g., Oracle java or IBM java, please try one of those. -Marshall On 2/24/2018 1:56 AM, Barbara Moloney wrote: > Hi > I'm very new to UIMA and I'd like to run annotationViewer and

Re: Parameters for PEAR

2018-02-12 Thread Marshall Schor
nope. sorry. -Marshall On 2/9/2018 3:25 AM, Peter Klügl wrote: > Hi, > > > did you get an answer? > > > Best, > > > Peter > > > Am 10.01.2018 um 17:12 schrieb Marshall Schor: >> I'm pinging some people who might know something about LanguageWare's us

Re: Parameters for PEAR

2018-01-10 Thread Marshall Schor
I'm pinging some people who might know something about LanguageWare's use of this feature. -Marshall On 1/10/2018 6:07 AM, Peter Klügl wrote: > Hi, > > > Am 10.01.2018 um 10:57 schrieb Richard Eckart de Castilho: >>> On 16.12.2017, at 13:48, Peter Klügl wrote: >>>

Re: Parameters for PEAR

2017-12-12 Thread Marshall Schor
Hi, Good question... The use of the word "parameters" in UIMA is unfortunately overloaded with multiple meanings. There are in general 2 kinds:  the kind used in produceAnalysisEngine - the so-called "additional parameters".  The other kind are the "configuration parameters", also called

Re: uniqueID() function

2017-11-30 Thread Marshall Schor
Hi, The uniqueId() function you found is (as you have noticed) not actually a method.  It's instead, some special syntax that was supported by the feature-value-path mechanism. I think this is not what you're looking for. The best thing for you to do is to design your type system as follows:

[ANNOUNCE] Apache UIMA Java SDK 3.0.0-beta released

2017-11-10 Thread Marshall Schor
elease requires Java 8, and is intended to be backwards compatible with existing Version 2 pipeline code, except for the need to regenerate or migrate (tooling provided) user-defined JCas class definitions. Please send feedback via the Apache UIMA project mailing lists.  -Marshall Schor, for the Apache

[ANNOUNCE] Apache UIMA Java SDK 2.10.2 released

2017-11-06 Thread Marshall Schor
https://uima.apache.org/eclipse-update-archives.html ). For more details, see the UIMA_News item ( https://uima.apache.org/news.html#03 Nov 2017 ). - -Marshall Schor, for the Apache UIMA development team -BEGIN PGP SIGNATURE- Version: GnuPG v2   iQIcBAEBCgAGBQJaAHAbAAoJEMx2

Re: Attach Javadoc

2017-09-14 Thread Marshall Schor
Hi, Sorry to hear of the trouble adding Javadocs. Is it possible that the javadoc location you gave was incorrect?  If you downloaded the UIMA distribution binary and unzipped it into (for example) c:\myUima, you should have a folder c:\myUima\apache-uima\docs\d\api I think that that would be

Re: JCasGen failure

2017-09-07 Thread Marshall Schor
3:29 PM, esteban.lla...@correounivalle.edu.co wrote: > > On 2017-09-07 12:17, Marshall Schor <m...@schor.com> wrote: >> Hi, >> >> Please say what version of UIMA you are using, and what version of the UIMA >> Eclipse plugins you are using (if you are using those to run JCasGen)

Re: JCasGen failure

2017-09-07 Thread Marshall Schor
Hi, Please say what version of UIMA you are using, and what version of the UIMA Eclipse plugins you are using (if you are using those to run JCasGen). Thanks. -Marshall On 9/7/2017 11:06 AM, esteban.lla...@correounivalle.edu.co wrote: > Hello, everybody. > > I'm new using Apache UIMA but i

[ANNOUNCE] Apache UIMA Java SDK 2.10.1 released

2017-08-30 Thread Marshall Schor
elease, but includes some new capabilities to use external resource settings values within UIMA's XML descriptors. For more details, see the UIMA_News <http://uima.apache.org/news.html#29%20Aug%202017>item ( http://uima.apache.org/news.html#29 Aug 2017 ). -Marshall Schor, for the Apache UIMA development team

Re: Type system commit race condition when maven builds jar(?)

2017-08-23 Thread Marshall Schor
Hi, Those two listing of the type system appear to show that the *working* version does not have cTakes, and the *failing* version has cTakes. Any ideas why this might be so? The stack trace appears to show that the "FileSystemCollectionReader" class is running the getNext method, and that is

Re: How to install the UIMA Eclipse Plugins Offline

2017-07-26 Thread Marshall Schor
Here's a suggestion. Use the normal way of Eclipse installing: "Help -> Install New Software". On the line saying "Work with", click the "Add..." button on the right. This brings up an "Add repository" box. Click on the button which says "Local", and browse to a directory where you have

Re: JCasGenMojo.newError(JCasGenMojo.java:239)

2017-07-19 Thread Marshall Schor
:-) -Marshall On 7/17/2017 8:14 AM, Luca Toldo wrote: > by upgrading to version 2.10 of the UIMA framework the error message > disappeared and instead I got a clear instruction on what is conflicting. > > Thank you ! >

Re: How use JCasPool when is exhausted

2017-06-09 Thread Marshall Schor
Since you say that CASes are never being released, perhaps you need to trace the code where you think an acquired cas ought to be being released, and see why that code path doesn't call the releaseJCas(cas) method? Also, were there any log / error messages generated? -Marshall On 6/9/2017 6:09

Re: How use JCasPool when is exhausted

2017-06-09 Thread Marshall Schor
Hi, I'm having some trouble understanding your code snippet. Perhaps you intended to have a "do { } while (cas == null), but it appears the "do" is missing? -Marshall On 6/9/2017 6:09 AM, Josep María Formentí Serra wrote: > Hi all, > > I have doubts how to control when the pool,

Re: Error in CAS Serialization to JSON

2017-06-08 Thread Marshall Schor
I accidentally replied off list. The reply was: Can you describe your runtime environment? The description for this particular error says " this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed." What level of Java and

Re: UIMA Annotation Editor - Annotation Styles - how to reset ?

2017-05-17 Thread Marshall Schor
I'm not too familiar with this, but will take a look if you can post "how to reproduce" instructions, for a (hopefully) small example :-) -Marshall On 5/17/2017 10:54 AM, Luca Toldo wrote: > Dear all, > I'm having problems with the Annotation Editor. > For reasons I don't know, one of the types

Re: conversion from ECORE to UIMA - Ecore2UimaTypeSystem

2017-05-16 Thread Marshall Schor
This missing class is part of Eclipse's emf support. See if you can locate a jar for it. For example, I went to http://search.maven.org and searched for "ecore", and found on the 4th hit org.eclipse.emf.ecore jar which has the ResourceSet class. Try including that Jar (and perhaps its

Re: Using REST api with UIMA

2017-05-04 Thread Marshall Schor
alization/ and I am interested on your > opinion about its level of „maturity“ / likelihood of inclusion in the UIMA > releases. > > Thanks > Luca > > >> Am 04.05.2017 um 16:37 schrieb Marshall Schor <m...@schor.com>: >> >> The core UIMA support has not (yet)

Re: Using REST api with UIMA

2017-05-04 Thread Marshall Schor
The core UIMA support has not (yet) implemented a deserializer back into CAS form, for this. The main idea behind CAS -> JSON conversion was to provide the CAS info to JSON Consumers. We have multiple other serializations (CAS -> XMI, etc.) that are designed for "transport" and include

Re: Limiting the memory used by an annotator ?

2017-05-01 Thread Marshall Schor
Hi, I'm not sure that a limited size FsIndexRepository would work, because it only would limit those Feature Structures that were added to the index. Many times, Feature Structures are made which are referenced from other Feature Structures, but are not added to the index. One example is

Re: Refreshing external resources periodically

2017-04-29 Thread Marshall Schor
Hi Debbie, I think this depends on what kind of external resource you have. Are you able to see what Java class is implementing the external resource? For instance, I'm guessing you must at some point in your code have some code that says something like:

Re: Limiting the memory used by an annotator ?

2017-04-29 Thread Marshall Schor
This has occasionally popped up as a user request. Thilo makes some good practical suggestions that often work. If (in your case) there's some aspect of the data that causes a combinatorial explosion in some part of the code, if you can identify that part of the code, and have any control over

Re: CAS visual debugger works in eclipse but not in the binary

2017-04-20 Thread Marshall Schor
Hi Benedict, Although it's hard to spot, this too looks like an out of memory problem. Can you try adding the -Xmx parameter to however you're launching this to give Java more memory to work with? -Marshall On 4/18/2017 12:54 PM, Benedict Holland wrote: > Hello All, > > I am attempting to

Re: Error running PEAR Installer

2017-04-20 Thread Marshall Schor
Please try running with more memory by using the java command line parameter -Xmx See for example the documentation for this launching parameter, on this page https://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html -Marshall On 4/17/2017 5:20 PM, Benedict Holland wrote: >

[ANNOUNCE] Apache UIMA Java SDK 2.10.0 released

2017-04-05 Thread Marshall Schor
elease, but includes some new capabilities to use external resource settings values within UIMA's XML descriptors. For more details, see the UIMA_News <http://uima.apache.org/news.html#4%20Apr%202017>item ( http://uima.apache.org/news.html#4 Apr 2017 ). -Marshall Schor, for the Apache UIMA deve

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

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 this

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

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

2017-02-15 Thread Marshall Schor
cas.isInitialSofaCreated()) { //skip if >> initial >>>> view && no Sofa yet >>>> // all >>>> non-initial-views must have a sofa >>>>* return ((CASImpl)cas.getView(sofaNum)).getSofaRe

  1   2   3   4   >