Anton87 / uimafit

Automatically exported from code.google.com/p/uimafit
0 stars 0 forks source link

move XWriter into uimaFIT from ClearTK #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It would be nice to have XWriter in uimaFIT so that for the examples
project I can show how to create a test that makes use of .xmi files for
testing a component that generally sits far downstream in a typical uima
pipeline that uses it.  

Original issue reported on code.google.com by pvogren@gmail.com on 1 May 2010 at 9:45

GoogleCodeExporter commented 8 years ago
I copied XWriter to uimaFIT and made only one substantive change.  Instead of 
assuming that the file name will be pulled out of the JCas using ClearTK's 
ViewURIUtil - it instead uses a FileNamer interface.  The default 
implementation of the interface simply names each file according to an 
incrementing integer (e.g. 1.xmi, 2.xmi, etc.).

Original comment by pvogren@gmail.com on 9 Jun 2010 at 5:53