Re: Serializing Specific View to XMI

2014-12-04 Thread Dr. Armin Wegner
Hi Jakob! I don't think so. 4 years ago Eddie wrote: The only way to do this now is to create a 2nd CAS, copy over the parts wanted using the org.apache.uima.util.CasCopier and serialize the new CAS. See

Re: AW: AW: Lucas

2014-08-28 Thread Dr. Armin Wegner
Hello Erik, in Lucene 4.9 (maybe earlier), you can replace the Lucene analyzer with a UIMA pipeline. At least the docs say so. I don't know how good it is becaus I've never used it. Cheers, Armin On 8/26/14, Erik Fäßler erik.faess...@uni-jena.de wrote: Hi all, actually, I don't use LuCas

DKpro StanfordNamedEntityRecognizer ClassCastException

2014-07-24 Thread Dr. Armin Wegner
Hi! I tried to do the introductory example for DKpro. But DKpro's StanfordNamedEntityRecognizer throws a ClassCastException. Any ideas? I had to replace some code snippets with [...]. Thanks Armin Jul 24, 2014 9:27:42 AM de.tudarmstadt.ukp.dkpro.core.api.resources.ResourceObjectProviderBase

Re: uimafit - String[] parameter in Resource_ImplBase

2014-06-15 Thread Dr. Armin Wegner
Hi Richard, sounds good, but, honestly, that's too much Java EE for me. I'm willing to try it, but I maybe won't understand it. It would be great if you could provide a typical and complete example to use and modify for similar tasks. Thank you, Armin On 6/13/14, Richard Eckart de Castilho

Restricting a aggregate engine to a substring or mention

2014-06-12 Thread Dr. Armin Wegner
Hello! Is there an UIMA component which restricts an aggregated analysis engine to a substring of the document text or to mentions of a given annotation type? That is, is there a UIMA aquivalent to GATE's Segment Processing PR? Thanks, Armin

Restricting an aggregate engine to a substring or mention

2014-06-12 Thread Dr. Armin Wegner
Hello! Is there an UIMA component which restricts an aggregated analysis engine to a substring of the document text or to mentions of a given annotation type? That is, is there a UIMA aquivalent to GATE's Segment Processing PR? Thanks, Armin

Re: HashMap as type feature

2013-10-22 Thread Dr. Armin Wegner
sometimes do is to store map data in external resources, which can be shared among co-located Annotators (running in the same JVM). -Marshall On 10/16/2013 11:55 AM, Dr. Armin Wegner wrote: Hi, I'd like to have a type feature that is a list of key-value pairs. The number of pairs is unknown

Re: HashMap as type feature

2013-10-17 Thread Dr. Armin Wegner
Looks good, I will try it. Thank you, Armin On 10/17/13, Richard Eckart de Castilho r...@apache.org wrote: You could also use the entrySet which gives you all the key/value pairs. -- Richard On 17.10.2013, at 16:43, armin.weg...@bka.bund.de wrote: Hi Thomas, thanks for your answer.

HashMap as type feature

2013-10-16 Thread Dr. Armin Wegner
Hi, I'd like to have a type feature that is a list of key-value pairs. The number of pairs is unknown. What's best for this? Is it even possible? Thanks, Armin

Re: HashMap as type feature

2013-10-16 Thread Dr. Armin Wegner
wrote: Hi, you could define a feature structure e.g. StringStringMapEntry { String key String value } and store these in an FSList. Then, write additional convenience code around that which transforms this to/from a MapString, String. -- Richard On 16.10.2013, at 17:55, Dr. Armin

Collection Reader Progress

2013-10-05 Thread Dr. Armin Wegner
What to return from method Progress of CasCollectionReader_ImplBase when I do not know the total number of artifacts?