codeaudit / dkpro-core-asl

Automatically exported from code.google.com/p/dkpro-core-asl
0 stars 0 forks source link

Generic annotation type in api.semantics #198

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A generic annotation type for semantic tagsets in api.semantics might be useful.
This could be used, e.g. by dictionary (e.g. Uby)-based annotators that perform 
semantic annotation with a particular semantic tagset (such as domain, semantic 
field, register/style etc)

Potential names could be 

SemanticLabel 
SemanticAnnotation
SemanticTag

The generic annotation type should have 2 feaures:
1) category (e.g. = semanticField, domain, ...)
2) value

Original issue reported on code.google.com by eckle.kohler on 15 Aug 2013 at 6:24

GoogleCodeExporter commented 9 years ago
The srl module has been renamed to semantics. New types can be added now.

It would also be possible to add one type per category. Seems more in-line with 
other kinds of annotations we have. E.g. "NamedEntity", which could also be 
considered a kind of semantic tag of the category "named entity".

SemanticField { String value }

I may be wrong, but register/style appears to be rather pragmatics then 
semantics. I'm not sure about domain.

Original comment by richard.eckart on 16 Aug 2013 at 2:01

GoogleCodeExporter commented 9 years ago
>> I may be wrong, but register/style appears to be rather pragmatics then 
semantics. I'm not sure about domain.

I agree. Moreover, register/style and domain might be document features.

So what about adding a new type SemanticField then with a String feature 
"value"?

Original comment by eckle.kohler on 20 Aug 2013 at 1:18

GoogleCodeExporter commented 9 years ago
>> So what about adding a new type SemanticField then with a String feature 
"value"?

Sounds good. Please go ahead and add it.

Original comment by richard.eckart on 20 Aug 2013 at 5:07

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1804.

Original comment by eckle.kohler on 21 Aug 2013 at 8:16