Re: Serializing CAS into XMI using UTF-8
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 xmlSerializer = new XMLSerializer(pw); >> xmlSerializer.setOutputProperty(OutputKeys.ENCODING, "UTF-16"); >> XmiCasSerializer xmiCasSerializer = new >> XmiCasSerializer(cas.getTypeSystem()); >> xmiCasSerializer.serialize(cas.getCas(), xmlSerializer.getContentHandler()); > When I try to deserialize this code with the CasIOUtils.load(…) method I get > an exception: >> [Fatal Error] :1:40: Content is not allowed in prolog. > > If I set the encoding to UTF-8 there’s no issue. > > Best, > Rune
Re: Uima-AS 3 ?
UIMA Ducc v3 includes UIMA-AS v 2.10.2 currently. Ducc deploys and manages lifecycle of UIMA-AS services. Jerry On Tue, Jan 7, 2020 at 10:57 AM Peter Klügl wrote: > Hi, > > > may I ask how the relationship between UIMA-AS and UIMA-DUCC is? > > I always thought that DUCC uses/builds on UIMA-AS, and there is already > DUCC v3. > > > Best, > > > Peter > > > Am 07.01.2020 um 15:52 schrieb Jaroslaw Cwiklik: > > Hi Matthias, I will start working on v3 release soon. > > Jerry > > > > On Tue, Jan 7, 2020 at 9:28 AM koch wrote: > > > >> Hi > >> > >> Is it planned to release v3 of uima-as ? > >> > >> best regards, > >> > >> Matthias > >> > >> > >> > >> > -- > Dr. Peter Klügl > R Text Mining/Machine Learning > > Averbis GmbH > Salzstr. 15 > 79098 Freiburg > Germany > > Fon: +49 761 708 394 0 > Fax: +49 761 708 394 10 > Email: peter.klu...@averbis.com > Web: https://averbis.com > > Headquarters: Freiburg im Breisgau > Register Court: Amtsgericht Freiburg im Breisgau, HRB 701080 > Managing Directors: Dr. med. Philipp Daumke, Dr. Kornél Markó > >
Re: Uima-AS 3 ?
Hi, may I ask how the relationship between UIMA-AS and UIMA-DUCC is? I always thought that DUCC uses/builds on UIMA-AS, and there is already DUCC v3. Best, Peter Am 07.01.2020 um 15:52 schrieb Jaroslaw Cwiklik: > Hi Matthias, I will start working on v3 release soon. > Jerry > > On Tue, Jan 7, 2020 at 9:28 AM koch wrote: > >> Hi >> >> Is it planned to release v3 of uima-as ? >> >> best regards, >> >> Matthias >> >> >> >> -- Dr. Peter Klügl R Text Mining/Machine Learning Averbis GmbH Salzstr. 15 79098 Freiburg Germany Fon: +49 761 708 394 0 Fax: +49 761 708 394 10 Email: peter.klu...@averbis.com Web: https://averbis.com Headquarters: Freiburg im Breisgau Register Court: Amtsgericht Freiburg im Breisgau, HRB 701080 Managing Directors: Dr. med. Philipp Daumke, Dr. Kornél Markó
Re: Uima-AS 3 ?
Hi Matthias, I will start working on v3 release soon. Jerry On Tue, Jan 7, 2020 at 9:28 AM koch wrote: > Hi > > Is it planned to release v3 of uima-as ? > > best regards, > > Matthias > > > >
Uima-AS 3 ?
Hi Is it planned to release v3 of uima-as ? best regards, Matthias
Serializing CAS into XMI using UTF-8
Hi list I’ve run into a problem with serializing a cas in UTF-16 encoding. I use the following code: > XMLSerializer xmlSerializer = new XMLSerializer(pw); > xmlSerializer.setOutputProperty(OutputKeys.ENCODING, "UTF-16"); > XmiCasSerializer xmiCasSerializer = new XmiCasSerializer(cas.getTypeSystem()); > xmiCasSerializer.serialize(cas.getCas(), xmlSerializer.getContentHandler()); When I try to deserialize this code with the CasIOUtils.load(…) method I get an exception: > [Fatal Error] :1:40: Content is not allowed in prolog. If I set the encoding to UTF-8 there’s no issue. Best, Rune