public class TopResultDisambiguator extends Disambiguator
Modifier and Type | Class and Description |
---|---|
static class |
TopResultDisambiguator.Provider |
Constructor and Description |
---|
TopResultDisambiguator(PhraseAnalyzer phraseAnalyzer) |
Modifier and Type | Method and Description |
---|---|
List<LinkedHashMap<LocalId,Float>> |
disambiguate(List<LocalString> phrases,
Set<LocalString> context)
Disambiguates multiple strings in some language to local pages in that language.
|
disambiguate, disambiguateTop, disambiguateTop
public TopResultDisambiguator(PhraseAnalyzer phraseAnalyzer)
public List<LinkedHashMap<LocalId,Float>> disambiguate(List<LocalString> phrases, Set<LocalString> context) throws DaoException
Disambiguator
disambiguate
in class Disambiguator
phrases
- The target phrases being disambiguated.context
- Other phrases (in the same language as the target phrase)
related to the target phrase being disambiguated that may
aid disambiguation.DaoException
Copyright © 2014. All rights reserved.