[ 
https://issues.apache.org/jira/browse/STANBOL-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13800604#comment-13800604
 ] 

Rupert Westenthaler commented on STANBOL-1183:
----------------------------------------------

# (Suggested) Disambiguation workflow

This describes how a Disambiguation Enhancement Engine can use this API:

1. create a `DisambiguationData` instance for the ContentItem
2. the engine needs to decide how to iterate over the ContentItem: Typically it 
will 
    a. get the first `ExtractedEntity` and
    b. create a `DisambiguationContext` for it and
    c. disambiguate it with all the other `ExtractedEntities` in the same 
context
3. perform the disambiguation
    a. as required by the algorithm `EntityContext` for `Suggestion` of 
`ExtractedEntities` can be loaded via the configured `EntityContextProvider(s)`.
    b. disambiguation results are represented as `Disambiguation` instances and 
added to the context. The engine might use its own `Disambiguation` to store 
additional intermediate results.
    c. previous disambiguation results are also accessible via the 
`DisambiguationContext`.
4. when the Disambiguation process has finished the `DisambiguationData` can be 
used to write the results back to the Enhancement Structure.

 


> 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)

Reply via email to