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 http://uima.markmail.org/message/htkrx4rpfagsx7tr?q=serializing+view#query:serializing%20vi

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 wrote: > Hi all, > > actually, I don't use LuCas anymore to write a Lucene

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 loa

Re: Restricting a aggregate engine to a substring or mention

2014-06-16 Thread Dr. Armin Wegner
lieve Ruta has the concept of limiting rules to certain context > annotation types, but I do not know if that also works when external > AEs are invoked. > > Cheers, > > -- Richard > > On 12.06.2014, at 12:00, Dr. Armin Wegner > wrote: > >> Hello! >&g

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 wrot

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

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

Re: HashMap as type feature

2013-10-22 Thread Dr. Armin Wegner
ssibility, though. The other thing that people > 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'

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 wrote: > You could also use the entrySet which gives you all the key/value pairs. > > -- Richard > > On 17.10.2013, at 16:43, wrote: > >> Hi Thomas, >> >> thanks for your answer. Using HashMap, does the n-th ele

Re: HashMap as type feature

2013-10-16 Thread Dr. Armin Wegner
rote: > 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 Map. > > -- Richard &g

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: Collection Reader Progress

2013-10-16 Thread Dr. Armin Wegner
> Yes, is optional, but applications that use the information typically treat > -1 as "unknown" > > ~Burn > > > On Mon, Oct 7, 2013 at 9:15 AM, Renaud Richardet > wrote: > >> Hi Armin, >> Just return null. I rarely implement that method... >> Best

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?