kamleshcropin / uimafit

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

TypeSystemDescriptionFactory.createTypeSystemDescription(Class...typeSystemClasses) assumes 1 descriptor file per type #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The method doesn't really work as you might expect it to - and minimally this 
should be documented.  It actually expects each type to be in its own type 
system descriptor file and have the same name as the generated class type.  
This might be disappointing to someone who wants to add e.g. Annotation.class 
to the list of type classes - or someone who has all types defined in a single 
descriptor file.  

Original issue reported on code.google.com by pvogren@gmail.com on 16 Jul 2010 at 9:18

GoogleCodeExporter commented 8 years ago

Original comment by pvogren@gmail.com on 4 Jan 2011 at 12:14

GoogleCodeExporter commented 8 years ago

Original comment by richard.eckart on 16 Mar 2011 at 11:55

GoogleCodeExporter commented 8 years ago

Original comment by richard.eckart on 18 Mar 2011 at 4:05

GoogleCodeExporter commented 8 years ago
Fixed in rev. 607.

Original comment by richard.eckart on 2 May 2011 at 6:31

GoogleCodeExporter commented 8 years ago
I'm being nitpicky - but I am going to mark this as "wontfix" because the 
method didn't actually get improved.  At least it is documented now - but it 
would be nice if you could just pass in the class names and it would generate a 
type system description.  Don't know how feasible/difficult this would be.  

Original comment by phi...@ogren.info on 5 May 2011 at 3:08

GoogleCodeExporter commented 8 years ago
As the JCas wrappers are generated now, this is quite difficult. For example 
the name "getSomeValue" could be associated with the feature "SomeValue" and 
"someValue". Adjusting the JCasGen to e.g. generate feature name constants 
would certainly help.

Original comment by richard.eckart on 5 May 2011 at 4:51