Re: Use of CASes with sofaURI?

2019-10-25 Thread Eddie Epstein
Besides very large documents and remote data, another major motivation was for non-text data, such as audio or video. Eddie On Fri, Oct 25, 2019 at 1:33 PM Marshall Schor wrote: > Hi, > > Here's what I vaguely remember was the driving use-cases for the sofa as a > URI. > > 1. The main use case

Re: Use of CASes with sofaURI?

2019-10-25 Thread Marshall Schor
Hi, Here's what I vaguely remember was the driving use-cases for the sofa as a URI. 1.  The main use case was for applications where the data was so large, it would be unreasonable to read it all in and save as a string. 2.  The prohibition on changing a sofa spec (without resetting the CAS) was

Re: Use of CASes with sofaURI?

2019-10-25 Thread Richard Eckart de Castilho
Hi, On 25. Oct 2019, at 17:53, Marshall Schor wrote: > > One other useful sources for examples: The test cases for UIMA, e.g. search > the > uimaj-core projects *.java files for "getSofaDataStream". Ok, let me elaborate :) One can use setSofaDataURI(url) to tell the CAS that the sofa data is

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 sofa

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

Dictionary Lookup Change in Ruta?

2019-10-25 Thread Viorel Morari
Hello, Having in mind the ticket UIMA-6092, we are looking for ways to improve the Ruta dictionary lookup on wordlists and -tables. This would target primarily the /MARKFAST/, /MARKTABLE /and /TRIE /actions. One option to make the lookup more robust would be to set the default value of the ex