[
https://issues.apache.org/jira/browse/STANBOL-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13800540#comment-13800540
]
Rupert Westenthaler edited comment on STANBOL-1183 at 10/21/13 10:47 AM:
-------------------------------------------------------------------------
# Entity Disambiguation Context
Describes the disambiguation context known for an Entity. An `EntityContext`
may have several `ContextField<VT>`. Those fields may represent different types
of contexts (e.g. spacial, social, ...). An EntityContext defines values of
type `<VT>` for a given `ContextField`. Optionally those values can be
`Weighted`.
<code>
EntityContext
uri :: String // the URI of the entity
fields :: Set<ContextField<VT>> //fields present in the context
values(ContextField<VT> field) :: Set<VT>
ContextField<VT>
uri :: String // the property of the field
valueType :: Class<VT> // the generic type of values
weighted :: boolean //if VT implements Weighted
<<additional metadata>>
Weighted /* used for values with weight */
weight :: double //the weight
<code>
The value MUST BE available via the "toString() :: String" method of the
`ContextField#valueType` property. This will allow valueType agnostic
implementations. For simple implementations `java.lang.String` can be used as
`valueType`.
was (Author: rwesten):
# Entity Disambiguation Context
Describes the disambiguation context known for an Entity. An `EntityContext`
may have several `ContextField<VT>`. Those fields may represent different types
of contexts (e.g. spacial, social, ...). An EntityContext defines values of
type `<VT>` for a given `ContextField`. Optionally those values can be
`Weighted`.
EntityContext
uri :: String // the URI of the entity
fields :: Set<ContextField<VT>> //fields present in the context
values(ContextField<VT> field) :: Set<VT>
ContextField<VT>
uri :: String // the property of the field
valueType :: Class<VT> // the generic type of values
weighted :: boolean //if VT implements Weighted
<<additional metadata>>
Weighted /* used for values with weight */
weight :: double //the weight
The value MUST BE available via the "toString() :: String" method of the
`ContextField#valueType` property. This will allow valueType agnostic
implementations. For simple implementations `java.lang.String` can be used as
`valueType`.
> Stanbol Disambiguation API
> --------------------------
>
> Key: STANBOL-1183
> URL: https://issues.apache.org/jira/browse/STANBOL-1183
> Project: Stanbol
> Issue Type: New Feature
> Reporter: Rupert Westenthaler
>
> Module providing an API for implementing disambiguation enhancement engines.
--
This message was sent by Atlassian JIRA
(v6.1#6144)