public static class YagoEntityExactMatcherFactory.YagoEntityExactMatcher extends Object
| Modifier and Type | Field and Description |
|---|---|
YagoEntityCandidateFinderFactory.YagoEntityCandidateFinder |
candidateFinder
made public so that you have access to the candidateFinder to setNGrams.
|
| Constructor and Description |
|---|
YagoEntityExactMatcher(YagoEntityContextScorerFactory.YagoEntityContextScorer contextScorer,
YagoEntityCandidateFinderFactory.YagoEntityCandidateFinder candidateFinder)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<NamedEntity> |
matchExact(List<String> possibleEntityTokens,
List<String> contextTokens)
Returns a list of most likely unique Named Entities.
|
List<NamedEntity> |
matchExact(List<TokenAnnotation> possibleEntityTokens,
String context) |
public YagoEntityCandidateFinderFactory.YagoEntityCandidateFinder candidateFinder
public YagoEntityExactMatcher(YagoEntityContextScorerFactory.YagoEntityContextScorer contextScorer, YagoEntityCandidateFinderFactory.YagoEntityCandidateFinder candidateFinder)
contextScorer - candidateFinder - public List<NamedEntity> matchExact(List<String> possibleEntityTokens, List<String> contextTokens)
possibleEntityTokens - contextTokens - NamedEntitypublic List<NamedEntity> matchExact(List<TokenAnnotation> possibleEntityTokens, String context)
possibleEntityTokens - context - NamedEntitymatchExact(List, List)