[
https://issues.apache.org/jira/browse/STANBOL-878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13545702#comment-13545702
]
Rupert Westenthaler edited comment on STANBOL-878 at 1/8/13 2:52 PM:
---------------------------------------------------------------------
## API changes to the Stanbol NLP API
This comment list all API changes and additions to the Stanbol NLP
(STANBOL-734) API introduced by this Issue:
* Change the type of the Anntotation from <gerneric> to 'String': This eases
serialization of keys. All currently defined Annotations do use String anyway.
* Add a method to the Annotated interface that returns the keys of all defined
Annotations: This is required by the serializer to get all defined annotations.
* Added constructor to PosTag that takes the String tag, a Collection of
LexicalCategories and a Collection of Pos: This constructor is more practicable
for generating instances based on values parsed from JSON objects.
* Addition of "addValue(String key, Value<?> value)", "setValue(..)",
"addValues(String key, List<Value<?> value)" and setValues(..) to the Annotated
interface. Currently this interface allows only to set (type save) values by
using the Annotation interface. However as this is not possible during parsing
one also needs to have access to the (non type save) variants
was (Author: rwesten):
## API changes to the Stanbol NLP API
This comment list all API changes and additions to the Stanbol NLP
(STANBOL-734) API introduced by this Issue:
* Change the type of the Anntotation from <gerneric> to 'String': This eases
serialization of keys. All currently defined Annotations do use String anyway.
* Add a method to the Annotated interface that returns the keys of all defined
Annotations: This is required by the serializer to get all defined annotations.
* Added constructor to PosTag that takes the String tag, a Collection of
LexicalCategories and a Collection of Pos: This constructor is more practicable
for generating instances based on values parsed from JSON objects.
> Add serialization support to the AnalyzedText ContentPart
> ---------------------------------------------------------
>
> Key: STANBOL-878
> URL: https://issues.apache.org/jira/browse/STANBOL-878
> Project: Stanbol
> Issue Type: New Feature
> Components: Enhancer
> Reporter: Rupert Westenthaler
> Assignee: Rupert Westenthaler
>
> Provide support for JSON serialization/parsing of AnalyzedText including
> Annotation. Also provide a JAX-RS MessageBodyReader/-Writer implementation.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira